summaryrefslogtreecommitdiff
path: root/autoscripts
diff options
context:
space:
mode:
authorjoey <joey>2000-08-17 07:45:49 +0000
committerjoey <joey>2000-08-17 07:45:49 +0000
commite3ad4ff22366c7e521d51a1464d233e9b8e849b2 (patch)
tree1c2065a62b20dc350af40c8d054cd8bbe000ac22 /autoscripts
parent0c9293e463decdb05bcc0dd3d7b3f163e12325e3 (diff)
r365: * dh_installxfonts: corrected a problem during package removal that was
silently neglecting to remove the fonts.dir/alias files.
Diffstat (limited to 'autoscripts')
-rw-r--r--autoscripts/postrm-xfonts2
1 files changed, 1 insertions, 1 deletions
diff --git a/autoscripts/postrm-xfonts b/autoscripts/postrm-xfonts
index ce3b7c6..016a639 100644
--- a/autoscripts/postrm-xfonts
+++ b/autoscripts/postrm-xfonts
@@ -5,7 +5,7 @@ for currentdir in $fontdirs; do
longdir=/usr/lib/X11/fonts/$currentdir
if [ -d $longdir ]; then
for file in fonts.dir fonts.alias; do
- rm -f $file
+ rm -f $longdir/$file
done
if [ $(find $longdir| wc -l) -eq 1 ]; then
rmdir -p $longdir