diff options
author | Daniel Friesel <derf@derf.homelinux.org> | 2008-06-21 17:30:38 +0200 |
---|---|---|
committer | Daniel Friesel <derf@derf.homelinux.org> | 2008-06-21 17:30:38 +0200 |
commit | 95b0ddaf119f0b55739bc6c4688802c77e9d7903 (patch) | |
tree | b4a2ac971e91547cce6994697fab3bc7a8d64d30 | |
parent | 6e4e905440e669769f6c33e50b89bd532d8c3029 (diff) |
oops3
-rwxr-xr-x | bin/pkg | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -216,7 +216,7 @@ populate_collected () { clear_line if ([ -d bin ]) { for i in bin/*(*); { - if ([ -L "$HOME/$i" -a "$(readlink $HOME/$i)" != "../$1/$i" ]) { + if ([ "$(readlink $HOME/$i)" != "../$1/$i" -a $? = 0]) { rm -f "$HOME/$i" ln -s ../${PDIR//$HOME\/}/$1/$i $HOME/$i } |