Package: shhopt
Version: 1.1.7-2
Severity: normal
Tags: patch

Hi,

Attached is the diff for my shhopt 1.1.7-2.1 NMU.

-- 
--
 .''`.           Policy is your friend. Trust the Policy.
 : :' :     Love the Policy. Obey the Policy. -- Lars Wirzenius
 `. `'           Proudly running unstable Debian GNU/Linux
   `-     www.amayita.com  www.malapecora.com  www.chicasduras.com
diff -u shhopt-1.1.7/debian/changelog shhopt-1.1.7/debian/changelog
--- shhopt-1.1.7/debian/changelog
+++ shhopt-1.1.7/debian/changelog
@@ -1,3 +1,10 @@
+shhopt (1.1.7-2.1) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * Get rid of the /usr/doc link in postinst (Closes: #359530, #359531).
+
+ -- Amaya Rodrigo Sastre <[EMAIL PROTECTED]>  Mon, 17 Jul 2006 12:17:43 +0200
+
 shhopt (1.1.7-2) unstable; urgency=low
 
   * shhopt is renamed to libshhopt1 and shhopt-dev is renamed to
@@ -112,3 +118,0 @@
-Local variables:
-mode: debian-changelog
-End:
diff -u shhopt-1.1.7/debian/libshhopt1.postinst 
shhopt-1.1.7/debian/libshhopt1.postinst
--- shhopt-1.1.7/debian/libshhopt1.postinst
+++ shhopt-1.1.7/debian/libshhopt1.postinst
@@ -25,6 +25,9 @@
 case "$1" in
     configure)
 
+        if [ -d /usr/doc -a -h /usr/doc/libshhopt1 -a -d 
/usr/share/doc/libshhopt1 ]; then
+                rm -f /usr/doc/libshhopt1
+        fi
     ;;
 
     abort-upgrade|abort-remove|abort-deconfigure)
only in patch2:
unchanged:
--- shhopt-1.1.7.orig/debian/libshhopt1-dev.postinst
+++ shhopt-1.1.7/debian/libshhopt1-dev.postinst
@@ -0,0 +1,9 @@
+#!/bin/sh
+
+if [ "$1" = "configure" ]; then
+        if [ -d /usr/doc -a -h /usr/doc/libshhopt1-dev -a -d 
/usr/share/doc/libshhopt1-dev ]; then
+                rm -f /usr/doc/libshhopt1-dev
+        fi
+fi
+
+#DEBHELPER#

Reply via email to