From 6514801bb3c990f2da0e93e320abf040695c696b Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Sun, 12 Apr 2009 17:52:36 +0200 Subject: pkg: Fixed a bug in genocide_collected (manuals from man/ were not uninstalled) --- bin/pkg | 4 ++-- 1 file 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); { -- cgit v1.2.3