tags 566562 + patch pending
thanks

Dear maintainer,

I've prepared an NMU for liblicense (versioned as 0.8-2.1) and
uploaded it to DELAYED/2. Please feel free to tell me if I
should delay it longer.

Regards.

-- 
 .''`.   http://info.comodo.priv.at/ -- GPG Key IDs: 0x8649AA06, 0x00F3CFE4
 : :' :  Debian GNU/Linux user, admin, & developer - http://www.debian.org/
 `. `'   Member of VIBE!AT & SPI, fellow of Free Software Foundation Europe
   `-    NP: Sting: It's Probably Me
diff -u liblicense-0.8/debian/changelog liblicense-0.8/debian/changelog
--- liblicense-0.8/debian/changelog
+++ liblicense-0.8/debian/changelog
@@ -1,3 +1,12 @@
+liblicense (0.8-2.1) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * Fix "fails to install": rename debian/postinst to
+    debian/liblicense-icons.postinst and touch /usr/share/icons/hicolor only
+    if it exists (closes: #566562).
+
+ -- gregor herrmann <gre...@debian.org>  Tue, 23 Feb 2010 21:16:24 +0100
+
 liblicense (0.8-2) unstable; urgency=low
 
   * Build-depend on libcurl4-gnutls-dev to avoid the conflict with
reverted:
--- liblicense-0.8/debian/postinst
+++ liblicense-0.8.orig/debian/postinst
@@ -1,43 +0,0 @@
-#!/bin/sh
-# postinst script for liblicense
-#
-# see: dh_installdeb(1)
-
-set -e
-
-# summary of how this script can be called:
-#        * <postinst> `configure' <most-recently-configured-version>
-#        * <old-postinst> `abort-upgrade' <new version>
-#        * <conflictor's-postinst> `abort-remove' `in-favour' <package>
-#          <new-version>
-#        * <postinst> `abort-remove'
-#        * <deconfigured's-postinst> `abort-deconfigure' `in-favour'
-#          <failed-install-package> <version> `removing'
-#          <conflicting-package> <version>
-# for details, see http://www.debian.org/doc/debian-policy/ or
-# the debian-policy package
-
-
-case "$1" in
-    configure)
-	# Ask GNOME to regenerate icon cache
-	touch /usr/share/icons/hicolor
-    ;;
-
-    abort-upgrade|abort-remove|abort-deconfigure)
-    ;;
-
-    *)
-        echo "postinst called with unknown argument \`$1'" >&2
-        exit 1
-    ;;
-esac
-
-# dh_installdeb will replace this with shell code automatically
-# generated by other debhelper scripts.
-
-#DEBHELPER#
-
-exit 0
-
-
only in patch2:
unchanged:
--- liblicense-0.8.orig/debian/liblicense-icons.postinst
+++ liblicense-0.8/debian/liblicense-icons.postinst
@@ -0,0 +1,43 @@
+#!/bin/sh
+# postinst script for liblicense
+#
+# see: dh_installdeb(1)
+
+set -e
+
+# summary of how this script can be called:
+#        * <postinst> `configure' <most-recently-configured-version>
+#        * <old-postinst> `abort-upgrade' <new version>
+#        * <conflictor's-postinst> `abort-remove' `in-favour' <package>
+#          <new-version>
+#        * <postinst> `abort-remove'
+#        * <deconfigured's-postinst> `abort-deconfigure' `in-favour'
+#          <failed-install-package> <version> `removing'
+#          <conflicting-package> <version>
+# for details, see http://www.debian.org/doc/debian-policy/ or
+# the debian-policy package
+
+
+case "$1" in
+    configure)
+	# Ask GNOME to regenerate icon cache
+	[ ! -d /usr/share/icons/hicolor ] || touch /usr/share/icons/hicolor
+    ;;
+
+    abort-upgrade|abort-remove|abort-deconfigure)
+    ;;
+
+    *)
+        echo "postinst called with unknown argument \`$1'" >&2
+        exit 1
+    ;;
+esac
+
+# dh_installdeb will replace this with shell code automatically
+# generated by other debhelper scripts.
+
+#DEBHELPER#
+
+exit 0
+
+

Attachment: signature.asc
Description: Digital signature

Reply via email to