summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorDaniel Friesel <derf@derf.homelinux.org>2008-06-21 17:26:33 +0200
committerDaniel Friesel <derf@derf.homelinux.org>2008-06-21 17:26:33 +0200
commit6e4e905440e669769f6c33e50b89bd532d8c3029 (patch)
tree1659a20a0378654f0a7ac640b9cb4a68631bd9d9 /bin
parent91e1a772120c136df97e09d6084f9d3caf4262fa (diff)
oops2
Diffstat (limited to 'bin')
-rwxr-xr-xbin/pkg2
1 files changed, 1 insertions, 1 deletions
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
}
}