summaryrefslogtreecommitdiff
path: root/bin/pkg
diff options
context:
space:
mode:
authorDaniel Friesel <derf@derf.homelinux.org>2009-04-12 17:52:36 +0200
committerDaniel Friesel <derf@derf.homelinux.org>2009-04-12 17:52:36 +0200
commit6514801bb3c990f2da0e93e320abf040695c696b (patch)
tree774a65d6d7f52e3341fee4e6bc889227159f34fd /bin/pkg
parent6f4ed9c17e206eea33dceb81e6677cdd04ae2f4a (diff)
pkg: Fixed a bug in genocide_collected (manuals from man/ were not uninstalled)
Diffstat (limited to 'bin/pkg')
-rwxr-xr-xbin/pkg4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/pkg b/bin/pkg
index a14f960..58ad8e7 100755
--- a/bin/pkg
+++ b/bin/pkg
@@ -581,8 +581,8 @@ function genocide_collected {
for i in man/*/*(N); {
section=${i:h:t}
manual=${i:t}
- if [[ -e $PDIR/.collected/man/man$section/$manual ]] {
- rm $PDIR/.collected/man/man$section/$manual
+ if [[ -e $PDIR/.collected/man/man$section/$manual.$section ]] {
+ rm $PDIR/.collected/man/man$section/$manual.$section
}
}
for i in bin/*(N); {