summaryrefslogtreecommitdiff
path: root/bin/pkg
diff options
context:
space:
mode:
authorDaniel Friesel <derf@derf.homelinux.org>2008-06-21 17:37:04 +0200
committerDaniel Friesel <derf@derf.homelinux.org>2008-06-21 17:37:04 +0200
commit70bc10b3776a324f9a79d70cae6376fe956d4a67 (patch)
tree17ea697087a20323284622a943cf55b1d1869a41 /bin/pkg
parente19fd7dc2655dbb7ed5600f61d0ff23346c092cd (diff)
oops5...
Diffstat (limited to 'bin/pkg')
-rwxr-xr-xbin/pkg2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/pkg b/bin/pkg
index b4b90cb..4d99d37 100755
--- a/bin/pkg
+++ b/bin/pkg
@@ -216,7 +216,7 @@ populate_collected () {
clear_line
if ([ -d bin ]) {
for i in bin/*(*); {
- if ([ "$(readlink $HOME/$i)" != "../$1/$i" -a $? = 0 ]) {
+ if ([ "$(readlink $HOME/$i)" != "../$1/$i" ]) {
rm -f "$HOME/$i"
ln -s ../${PDIR//$HOME\/}/$1/$i $HOME/$i
}