[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#126951: shhopt: Patch for lintian reported errors



Package: shhopt
Version: N/A; reported 2001-12-29
Severity: minor
Tags: patch

--- debian/changelog.orig	Sat Dec 29 19:41:05 2001
+++ debian/changelog	Sat Dec 29 19:41:05 2001
@@ -59,5 +59,4 @@
 
 Local variables:
 mode: debian-changelog
-add-log-mailing-address: "olet@debian.org"
 End:

Common subdirectories: debian.orig/debian and debian/debian
diff -uN debian.orig/postinst debian/postinst
--- debian.orig/postinst	Wed Dec 31 17:00:00 1969
+++ debian/postinst	Sat Dec 29 19:44:03 2001
@@ -0,0 +1,7 @@
+#!/bin/sh
+
+ if [ "$1" = "configure" ]; then
+  if [ -d /usr/doc -a ! -e /usr/doc/shhopt -a -d /usr/share/doc/shhopt ]; then
+   ln -sf ../share/doc/shhopt /usr/doc/shhopt
+  fi
+ fi

diff -uN debian.orig/prerm debian/prerm
--- debian.orig/prerm	Wed Dec 31 17:00:00 1969
+++ debian/prerm	Sat Dec 29 19:44:03 2001
@@ -0,0 +1,5 @@
+#!/bin/sh)
+
+ if [ \( "$1" = "upgrade" -o "$1" = "remove" \) -a -L /usr/doc/shhopt ]; then
+   rm -f /usr/doc/shhopt
+ fi



-- System Information
Debian Release: 3.0
Architecture: powerpc
Kernel: Linux Obsession 2.2.19 #1 Sat Apr 14 23:20:24 CDT 2001 ppc
Locale: LANG=C, LC_CTYPE=C




Reply to: