From 6e4e905440e669769f6c33e50b89bd532d8c3029 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Sat, 21 Jun 2008 17:26:33 +0200 Subject: oops2 --- bin/pkg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bin/pkg') diff --git a/bin/pkg b/bin/pkg index a298cbd..6d6cf0b 100755 --- a/bin/pkg +++ b/bin/pkg @@ -247,7 +247,7 @@ genocide_collected () { clear_line if ([ -d bin ]) { for i in bin/*(*); { - if ([ "$(readlink $HOME/$i)" = "../$1/$i" ]) { + if ([ "$(readlink $HOME/$i)" = "../${PDIR//$HOME\/}/$1/$i" ]) { rm -f $HOME/$i } } -- cgit v1.2.3