summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorDaniel Friesel <derf@derf.homelinux.org>2008-06-21 17:19:47 +0200
committerDaniel Friesel <derf@derf.homelinux.org>2008-06-21 17:19:47 +0200
commit91e1a772120c136df97e09d6084f9d3caf4262fa (patch)
tree030ebddfb52e81505cd8a5753ab9d7d353033f02 /bin
parent4178b8d7fc651e67f4240f8392204f17deb5f030 (diff)
oops
Diffstat (limited to 'bin')
-rwxr-xr-xbin/pkg2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/pkg b/bin/pkg
index c474544..a298cbd 100755
--- a/bin/pkg
+++ b/bin/pkg
@@ -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 ([ -L "$HOME/$i" -a "$(readlink $HOME/$i)" != "../$1/$i" ]) {
rm -f "$HOME/$i"
ln -s ../${PDIR//$HOME\/}/$1/$i $HOME/$i
}