Package: tclex
Version: 1.2a1-9
Severity: normal
Tags: patch

Hi,

Attached is the diff for my tclex 1.2a1-9.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 tclex-1.2a1/debian/changelog tclex-1.2a1/debian/changelog
--- tclex-1.2a1/debian/changelog
+++ tclex-1.2a1/debian/changelog
@@ -1,3 +1,10 @@
+tclex (1.2a1-9.1) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * Get rid of the /usr/doc link in postinst (Closes: #359579).
+
+ -- Amaya Rodrigo Sastre <[EMAIL PROTECTED]>  Mon, 17 Jul 2006 23:46:03 +0200
+
 tclex (1.2a1-9) unstable; urgency=low
 
   * Changed dependencies to tcl/tk8.3 rather than 8.2.  Closes: #183802
@@ -90,4 +96,0 @@
-Local variables:
-add-log-full-name: "David A. van Leeuwen"
-debian-changelog-mailing-address "[EMAIL PROTECTED]"
-End:
reverted:
--- tclex-1.2a1/debian/manpage.1.ex
+++ tclex-1.2a1.orig/debian/manpage.1.ex
@@ -1,41 +0,0 @@
-.TH NAME SECTION 
-.\" NAME should be all caps, SECTION should be 1-8, maybe w/ subsection
-.\" other parms are allowed: see man(7), man(1)
-.SH NAME
-tclex \- programs to do something
-.SH SYNOPSIS
-.B tclex
-.I "[options] files ..."
-.br
-.B bar
-.I "[options] files ..."
-.SH "DESCRIPTION"
-This manual page documents briefly the
-.BR tclex ,
-and
-.B bar
-commands.
-This manual page was written for the Debian GNU/Linux distribution
-because the original program does not have a manual page.
-Instead, it has documentation in the GNU Info format; see below.
-.PP
-.B tclex
-is a program that...
-.SH OPTIONS
-The programs follow the usual GNU command line syntax, with long
-options starting with two dashes (`-').
-A summary of options are included below.
-For a complete description, see the Info files.
-.TP
-.B \-h, \-\-help
-Show summary of options.
-.TP
-.B \-v, \-\-version
-Show version of program.
-.SH "SEE ALSO"
-The programs are documented fully by
-.IR "The Rise and Fall of a Fooish Bar" ,
-available via the Info system.
-.SH AUTHOR
-This manual page was written by David A. van Leeuwen <[EMAIL PROTECTED]>,
-for the Debian GNU/Linux system (but may be used by others).
reverted:
--- tclex-1.2a1/debian/menu.ex
+++ tclex-1.2a1.orig/debian/menu.ex
@@ -1,2 +0,0 @@
-?package(tclex):needs=X11|text|vc|wm section=Apps/see-menu-manual\
-  title="tclex" command="/usr/bin/tclex"
diff -u tclex-1.2a1/debian/prerm tclex-1.2a1/debian/prerm
--- tclex-1.2a1/debian/prerm
+++ tclex-1.2a1/debian/prerm
@@ -8,0 +9,2 @@
+
+#DEBHELPER#
diff -u tclex-1.2a1/debian/postinst tclex-1.2a1/debian/postinst
--- tclex-1.2a1/debian/postinst
+++ tclex-1.2a1/debian/postinst
@@ -3,8 +3,10 @@
-       if [ -d /usr/doc -a ! -e /usr/doc/tclex -a -d /usr/share/doc/tclex ]; 
then
-               ln -sf ../share/doc/tclex /usr/doc/tclex
-       fi
+        if [ -d /usr/doc -a -h /usr/doc/tclex -a -d /usr/share/doc/tclex ]; 
then
+                rm -f /usr/doc/tclex
+        fi
+
        if command -v install-docs > /dev/null 2>&1; then
                install-docs -i /usr/share/doc-base/tclex-manual
        fi
 fi
 
+#DEBHELPER#

Reply via email to