On Thu, 17 Nov 2011 03:27:11 +0100, Andreas Beckmann wrote:

> Package: pmw
> Version: 4.22-4
> Followup-For: Bug #635550
> 
> The problem still exists:
> http://piuparts.debian.org/sid/bugged/pmw_4.22-4.log

Yup, seems it was fixed only on postinst but not in postrm. Trivial
patch attached.

(I'm not uploading now because of #658229 which mentions an upload
with a new upstream release in the near future.)


Cheers,
gregor

-- 
 .''`.  Homepage: http://info.comodo.priv.at/ - OpenPGP key 0xBB3A68018649AA06
 : :' : Debian GNU/Linux user, admin, and developer  -  http://www.debian.org/
 `. `'  Member of VIBE!AT & SPI, fellow of the Free Software Foundation Europe
   `-   NP: Lenny Kravitz: Let Love Rule
diff -u pmw-4.23/debian/changelog pmw-4.23/debian/changelog
--- pmw-4.23/debian/changelog
+++ pmw-4.23/debian/changelog
@@ -1,3 +1,12 @@
+pmw (4.23-1.1) UNRELEASED; urgency=low
+
+  * Non-maintainer upload.
+  * Fix "piuparts: fails to install (update-gsfontmap again)": check for
+    update-gsfontmap also in postrm, not only in postinst.
+    (Closes: #635550)
+
+ -- gregor herrmann <gre...@debian.org>  Sun, 12 Feb 2012 15:39:53 +0100
+
 pmw (4.23-1) unstable; urgency=low
 
   * New upstream release
diff -u pmw-4.23/debian/pmw.postrm pmw-4.23/debian/pmw.postrm
--- pmw-4.23/debian/pmw.postrm
+++ pmw-4.23/debian/pmw.postrm
@@ -2,7 +2,10 @@
 
 case "$1" in
 	"remove")
-		update-gsfontmap
+		if [ -x /usr/sbin/update-gsfontmap ]
+		then
+			/usr/sbin/update-gsfontmap
+		fi
 	;;
 esac
 

Attachment: signature.asc
Description: Digital signature

Reply via email to