Package: countrycodes
Version: 1.0.5-1
Severity: normal
Tags: patch

Hi,

Attached is the diff for my countrycodes 1.0.5-1.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 countrycodes-1.0.5/debian/postinst countrycodes-1.0.5/debian/postinst
--- countrycodes-1.0.5/debian/postinst
+++ countrycodes-1.0.5/debian/postinst
@@ -4,9 +4,11 @@
-       # /usr/doc <=> /usr/share/doc crap
-       if [ -d /usr/doc/ -a ! -e /usr/doc/countrycodes -a -d 
/usr/share/doc/countrycodes ]; then
-               ln -sf /usr/share/doc/countrycodes /usr/doc/countrycodes
-       fi
+        if [ -d /usr/doc -a -h /usr/doc/countrycodes -a -d 
/usr/share/doc/countrycodes ]; then
+                rm -f /usr/doc/countrycodes
+        fi
        # Update menu system
        if [ -x /usr/bin/update-menus ]; then
                update-menus;
        fi
 fi
+
+#DEBHELPER#
+
diff -u countrycodes-1.0.5/debian/substvars countrycodes-1.0.5/debian/substvars
--- countrycodes-1.0.5/debian/substvars
+++ countrycodes-1.0.5/debian/substvars
@@ -1 +1 @@
-shlibs:Depends=libc6 (>= 2.3.2.ds1-21)
+shlibs:Depends=libc6 (>= 2.3.6-6)
diff -u countrycodes-1.0.5/debian/changelog countrycodes-1.0.5/debian/changelog
--- countrycodes-1.0.5/debian/changelog
+++ countrycodes-1.0.5/debian/changelog
@@ -1,3 +1,10 @@
+countrycodes (1.0.5-1.1) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * Get rid of the /usr/doc link in postinst (Closes: #378646).
+
+ -- Amaya Rodrigo Sastre <[EMAIL PROTECTED]>  Tue, 18 Jul 2006 10:23:41 +0200
+
 countrycodes (1.0.5-1) unstable; urgency=low
 
   * New upstream release.
@@ -63,4 +69,0 @@
-Local variables:
-mode: debian-changelog
-add-log-mailing-address "[EMAIL PROTECTED]"
-End:

Reply via email to