summaryrefslogtreecommitdiff
path: root/autoscripts/postrm-xfonts
diff options
context:
space:
mode:
Diffstat (limited to 'autoscripts/postrm-xfonts')
-rw-r--r--autoscripts/postrm-xfonts2
1 files changed, 1 insertions, 1 deletions
diff --git a/autoscripts/postrm-xfonts b/autoscripts/postrm-xfonts
index 53e2b6db..c8d1f767 100644
--- a/autoscripts/postrm-xfonts
+++ b/autoscripts/postrm-xfonts
@@ -7,7 +7,7 @@ for currentdir in $fontdirs; do
for file in fonts.dir fonts.alias; do
rm -f $file
done
- if [ $(find $currentdir| wc -l) -eq 1 ]; then
+ if [ $(find $longdir| wc -l) -eq 1 ]; then
rmdir -p $longdir
else
for currentcmd in $updatecmds; do