diff options
Diffstat (limited to 'bin')
-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 |