Package: wmaker-usersguide
Version: 0.20.2-2
Severity: normal
Tags: patch

Hi,

Attached is the diff for my wmaker-usersguide 0.20.2-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 wmaker-usersguide-0.20.2/debian/changelog 
wmaker-usersguide-0.20.2/debian/changelog
--- wmaker-usersguide-0.20.2/debian/changelog
+++ wmaker-usersguide-0.20.2/debian/changelog
@@ -1,3 +1,10 @@
+wmaker-usersguide (0.20.2-2.1) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * Get rid of the /usr/doc link in postinst (Closes: #359601).
+
+ -- Amaya Rodrigo Sastre <[EMAIL PROTECTED]>  Tue, 18 Jul 2006 01:11:51 +0200
+
 wmaker-usersguide (0.20.2-2) frozen unstable; urgency=low
 
   * doc-base: document moved to /usr/share/doc. (closes: bug#51020)
@@ -35,4 +41,0 @@
-Local variables:
-mode: debian-changelog
-add-log-mailing-address: "[EMAIL PROTECTED]"
-End:
diff -u wmaker-usersguide-0.20.2/debian/control 
wmaker-usersguide-0.20.2/debian/control
--- wmaker-usersguide-0.20.2/debian/control
+++ wmaker-usersguide-0.20.2/debian/control
@@ -13,7 +13,7 @@
-Depends: postscript-viewer
+Depends: gv|postscript-viewer
 Suggests: wmaker (>= 0.60.0.19990831-2)
 Description: Window Maker Users' Guide -- postscript format
  This guide describes the use of Window Maker, an X11 window manager.
  It's for an old version of Window Maker, namely 0.20.2, but it's still
  an accurate introduction to the general operation of this window
- manager.
\ No newline at end of file
+ manager.
diff -u wmaker-usersguide-0.20.2/debian/wmaker-usersguide-ps.postinst 
wmaker-usersguide-0.20.2/debian/wmaker-usersguide-ps.postinst
--- wmaker-usersguide-0.20.2/debian/wmaker-usersguide-ps.postinst
+++ wmaker-usersguide-0.20.2/debian/wmaker-usersguide-ps.postinst
@@ -7,13 +7,12 @@
         if command -v install-docs >/dev/null 2>&1; then
             install-docs -i /usr/share/doc-base/wmaker-usersguide-ps
         fi
-        if [ -d /usr/doc -a ! -e /usr/doc/wmaker-usersguide-ps -a -d 
/usr/share/doc/wmaker-usersguide-ps ]; then
-            ln -sf ../share/doc/wmaker-usersguide-ps 
/usr/doc/wmaker-usersguide-ps
+        if [ -d /usr/doc -a -h /usr/doc/wmaker-usersguide-ps -a -d 
/usr/share/doc/wmaker-usersguide-ps ]; then
+                rm -f /usr/doc/wmaker-usersguide-ps
         fi
-        if [ -d /usr/doc -a ! -e /usr/doc/wmaker -a -d /usr/share/doc/wmaker 
]; then
-            ln -sf ../share/doc/wmaker /usr/doc/wmaker
+        if [ -d /usr/doc -a -h /usr/doc/wmaker -a -d /usr/share/doc/wmaker ]; 
then
+                rm -f /usr/doc/wmaker
         fi
-
     ;;
     abort-upgrade|abort-deconfigure|abort-remove)
         # how did we got here? Force a non-zero exit code
@@ -27,2 +26,4 @@
+#DEBHELPER#
+
 exit 0
-    
\ No newline at end of file
+    

Reply via email to