]> git.donarmstrong.com Git - debhelper.git/blobdiff - autoscripts/postrm-xfonts
r434: added back (sigh)
[debhelper.git] / autoscripts / postrm-xfonts
index c8d1f7673bbdcb6c4a0bbd160eaa6809e09161f5..016a63925b1d05afc2ac3909cbdd39b3f9ba13e4 100644 (file)
@@ -2,10 +2,10 @@ fontdirs="#FONTDIRS#"
 updatecmds="#UPDATECMDS#"
 
 for currentdir in $fontdirs; do
-       longdir=/usr/X11R6/lib/X11/fonts/$currentdir
+       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