Package: gsfonts-x11
Version: 0.18
Severity: minor

The purge of gsfonts-x11 is incomplete when xutils is removed.

> # apt-get install gsfonts-x11
> ...
> # apt-get remove xutils
> ...
> # dpkg --purge gsfonts-x11
> ...
> dpkg - warning: while removing gsfonts-x11, directory 
> `/usr/X11R6/lib/X11/fonts/Type1' not empty so not removed.
> # ls /usr/X11R6/lib/X11/fonts/Type1
> fonts.alias  fonts.dir  fonts.scale

The contents of /var/lib/dpkg/info/gsfonts-x11.postrm :

> #!/bin/sh
> set -e
> # Automatically added by dh_installxfonts
> if [ "$1" != "upgrade" ] && [ -x "`which update-fonts-dir 2>/dev/null`" ]; 
> then
> update-fonts-scale Type1;update-fonts-dir Type1;update-fonts-alias Type1
> fi
> # End automatically added section

When xutils is removed before gsfonts-x11 is purged, then
update-fonts-dir is not available, so then the postrm of gsfonts-x11
does nothing, so the three files are left behind.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to