diff options
author | Daniel Friesel <derf@derf.homelinux.org> | 2009-04-12 12:43:39 +0200 |
---|---|---|
committer | Daniel Friesel <derf@derf.homelinux.org> | 2009-04-12 12:43:39 +0200 |
commit | cdcefe05460485058a994bf3e16641ecb69349d8 (patch) | |
tree | d6f6082bbaf618a82572e69102c95bf16fb24b2f /bin/pkg | |
parent | 57d5db7d4e42a29a9205ac101a2119bcdac8a03c (diff) |
pkg: populate_collected: Fixed check if bin/.. needs update
Diffstat (limited to 'bin/pkg')
-rwxr-xr-x | bin/pkg | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -557,7 +557,7 @@ function populate_collected { } for i in bin/*(-*N); { if [[ -L $HOME/$i || ! -e $HOME/$i ]] { - if [[ $(readlink $HOME/$i) != "../$1/$i" ]] { + if [[ $(readlink $HOME/$i) != (../${PDIR//$HOME\/}|$PDIR)/$1/$i ]] { rm -f $HOME/$i if [[ $PDIR == ${HOME}* ]] { ln -s ../${PDIR//$HOME\/}/$1/$i $HOME/$i |