Package: shhmsg
Version: 1.4.1-4
Severity: normal
Tags: patch

Hi,

Attached is the diff for my shhmsg 1.4.1-4.1 NMU.

-- 
 .''`.             Fuck your fascist beauty standards
: :' :   
`. `'           Proudly running unstable Debian GNU/Linux
  `-     www.amayita.com  www.malapecora.com  www.chicasduras.com
diff -u shhmsg-1.4.1/debian/changelog shhmsg-1.4.1/debian/changelog
--- shhmsg-1.4.1/debian/changelog
+++ shhmsg-1.4.1/debian/changelog
@@ -1,3 +1,12 @@
+shhmsg (1.4.1-4.1) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * Get rid of the /usr/doc link in postinst (Closes: #359523,#359524).
+  * Change the #DEBHELPER# instance in a comment in libshhmsg1-dev.postinst
+    and libshhmsg1-dev.prerm, it was confusing debhelper (Closes: #315468).
+
+ -- Amaya Rodrigo Sastre <[EMAIL PROTECTED]>  Mon, 17 Jul 2006 11:32:22 +0200
+
 shhmsg (1.4.1-4) unstable; urgency=low
 
   * libshhmsg1-dev.postinst, libshhmsg1-dev.prerm: new files, use /bin/bash
diff -u shhmsg-1.4.1/debian/libshhmsg1.postinst 
shhmsg-1.4.1/debian/libshhmsg1.postinst
--- shhmsg-1.4.1/debian/libshhmsg1.postinst
+++ shhmsg-1.4.1/debian/libshhmsg1.postinst
@@ -4,8 +4,10 @@
 
 if [ "$1" = "configure" ]; then
        ldconfig
+        if [ -d /usr/doc -a -h /usr/doc/libshhmsg1 -a -d 
/usr/share/doc/libshhmsg1 ]; then
+                rm -f /usr/doc/libshhmsg1
+        fi
 fi
-
 #DEBHELPER#
 
 exit 0
diff -u shhmsg-1.4.1/debian/libshhmsg1-dev.postinst 
shhmsg-1.4.1/debian/libshhmsg1-dev.postinst
--- shhmsg-1.4.1/debian/libshhmsg1-dev.postinst
+++ shhmsg-1.4.1/debian/libshhmsg1-dev.postinst
@@ -1,7 +1,12 @@
 #!/bin/bash
-# use bash explicitly because the #DEBHELPER# part uses 'command -v'
+# use bash explicitly because the DEBHELPER part uses 'command -v'
 set -e
 
-#DEBHELPER#
+if [ "$1" = "configure" ]; then
+        if [ -d /usr/doc -a -h /usr/doc/libshhmsg1-dev -a -d 
/usr/share/doc/libshhmsg1-dev ]; then
+                rm -f /usr/doc/libshhmsg1-dev
+        fi
+fi
 
+#DEBHELPER#
 exit 0
diff -u shhmsg-1.4.1/debian/libshhmsg1-dev.prerm 
shhmsg-1.4.1/debian/libshhmsg1-dev.prerm
--- shhmsg-1.4.1/debian/libshhmsg1-dev.prerm
+++ shhmsg-1.4.1/debian/libshhmsg1-dev.prerm
@@ -1,5 +1,5 @@
 #!/bin/bash
-# use bash explicitly because the #DEBHELPER# part uses 'command -v'
+# use bash explicitly because the DEBHELPER part uses 'command -v'
 set -e
 
 #DEBHELPER#

Reply via email to