From 70bc10b3776a324f9a79d70cae6376fe956d4a67 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Sat, 21 Jun 2008 17:37:04 +0200 Subject: oops5... --- bin/pkg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bin/pkg') 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 } -- cgit v1.2.3