Package: fontconfig
Version: 2.3.2-1.1
Severity: minor
The package fontconfig doesn't cleanup properly after purging.
The attached patch should fix that.
diff -ruN orig/debian/fontconfig.postrm
fontconfig-2.3.2/debian/fontconfig.postrm
--- orig/debian/fontconfig.postrm 2006-01-22 17:36:49.000000000 +0100
+++ fontconfig-2.3.2/debian/fontconfig.postrm 2006-01-22 17:59:15.000000000
+0100
@@ -11,6 +11,10 @@
ucf --purge $CONF
fi
rm -f $CONF
+ rm -f /var/log/fontconfig.log
+ rm -f /etc/fonts/conf.d/30-debconf-yes-bitmaps.conf
+ rm -f /etc/fonts/conf.d/30-debconf-no-bitmaps.conf
+ rm -f /etc/defoma/fontconfig.subst-rule
rm -rf /var/lib/fontconfig /var/lib/defoma/fontconfig.d
for dir in /usr/share/fonts /usr/X11R6/lib/X11/fonts
/usr/local/share/fonts ; do
if [ -d $dir ]; then
@@ -18,6 +22,7 @@
fi
done
rmdir /usr/local/share/fonts 2> /dev/null || true
+ rmdir /usr/share/fonts/truetype/ttf-bitstream-vera 2> /dev/null ||
true
;;
esac