From: Wichert Akkerman Date: Wed, 8 Jan 2003 23:44:36 +0000 (+0000) Subject: No longer install postinst and prerm since /usr/doc symlink is no longer needed X-Git-Tag: v4.5.18~903 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=5a9b086cfe4d8fd744685dc6085712b241ffb34e;p=strace No longer install postinst and prerm since /usr/doc symlink is no longer needed --- diff --git a/ChangeLog b/ChangeLog index ba65d891..c073a509 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2003-01-09 Wichert Akkerman + + * debian/postinst, debian/prerm: removed, /usr/doc symlink is no + longer used + * debian/rules: no longer install postinst and prerm + 2002-12-30 Roland McGrath * Makefile.am (bin_SCRIPTS): New variable, list strace-graph. diff --git a/debian/control b/debian/control index 4b22d502..49b4fbc2 100644 --- a/debian/control +++ b/debian/control @@ -2,6 +2,7 @@ Source: strace Section: devel Priority: standard Maintainer: Wichert Akkerman +Uploaders: Wichert Akkerman , Roland McGrath Build-Depends: libc6-dev (>= 2.2.2-1) [!alpha !ia64], libc6.1-dev (>= 2.2.2-1) [alpha ia64] Standards-Version: 3.5.2 diff --git a/debian/postinst b/debian/postinst deleted file mode 100755 index 20465365..00000000 --- a/debian/postinst +++ /dev/null @@ -1,15 +0,0 @@ -#! /bin/sh - -pkg=strace - -set -e - -if [ ! "$1" = "configure" ]; then - exit 0 -fi - -if [ -d /usr/doc -a ! -e /usr/doc/$pkg -a -d /usr/share/doc/$pkg ] ; then - ln -s ../share/doc/$pkg /usr/doc/$pkg -fi - - diff --git a/debian/prerm b/debian/prerm deleted file mode 100755 index a1766291..00000000 --- a/debian/prerm +++ /dev/null @@ -1,14 +0,0 @@ -#! /bin/sh - -pkg=strace - -set -e - -if [ ! \( "$1" = "upgrade" -o "$1" = "remove" \) ]; then - exit 0 -fi - -if [ -L /usr/doc/$pkg ]; then - rm -f /usr/doc/$pkg -fi - diff --git a/debian/rules b/debian/rules index 4f4c5d77..acb4d5fc 100755 --- a/debian/rules +++ b/debian/rules @@ -45,9 +45,6 @@ binary-arch: checkroot install -p -o root -g root -m 644 strace.1 debian/tmp/usr/share/man/man1/strace.1 gzip -9 debian/tmp/usr/share/man/man1/strace.1 - install -p -o root -g root -m 755 debian/prerm debian/tmp/DEBIAN/ - install -p -o root -g root -m 755 debian/postinst debian/tmp/DEBIAN/ - dpkg-shlibdeps strace dpkg-gencontrol -isp dpkg --build debian/tmp ..