summaryrefslogtreecommitdiff
path: root/bin/pkg
diff options
context:
space:
mode:
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); {