summaryrefslogtreecommitdiff
path: root/bin/pkg
diff options
context:
space:
mode:
authorDaniel Friesel <derf@derf.homelinux.org>2008-06-14 12:11:22 +0200
committerDaniel Friesel <derf@derf.homelinux.org>2008-06-14 12:11:22 +0200
commit453aa76d90af48769d6b0edb88a749a7444c70d3 (patch)
tree7a096c1c00d7ed080a605fe283eb023edfcc5a14 /bin/pkg
parente7b60af17e46b48c55572d2e19d9e5d7037abe35 (diff)
bin/pkg: Remove symlinks when removing a package
Diffstat (limited to 'bin/pkg')
-rwxr-xr-xbin/pkg1
1 files changed, 1 insertions, 0 deletions
diff --git a/bin/pkg b/bin/pkg
index 9b6e65b..4d113b4 100755
--- a/bin/pkg
+++ b/bin/pkg
@@ -269,6 +269,7 @@ pkg_remove () {
. $PDIR/$1/hooks/pre-remove
}
genocide_collected "$1"
+ removelinks "$1"
rm -r $PDIR/$1
info "Package removed.\n"
}