From 3c6678da2488fd22445b1d2a72544f955cba4f0b Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Tue, 10 Jan 2006 00:54:51 -0500 Subject: [PATCH] Imported Debian patch 1.01b-12.3 --- debian/changelog | 7 +++++++ debian/postinst | 9 --------- debian/prerm | 7 ------- debian/rules | 2 -- 4 files changed, 7 insertions(+), 18 deletions(-) delete mode 100644 debian/postinst delete mode 100644 debian/prerm diff --git a/debian/changelog b/debian/changelog index fe17bd3..e3aeb3c 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,10 @@ +mmv (1.01b-12.3) unstable; urgency=low + + * NMU + * Remove postinst and prerm, finishing /usr/doc transition. Closes: #322813 + + -- Joey Hess Tue, 10 Jan 2006 00:54:51 -0500 + mmv (1.01b-12.2) unstable; urgency=low * NMU diff --git a/debian/postinst b/debian/postinst deleted file mode 100644 index cb38ac8..0000000 --- a/debian/postinst +++ /dev/null @@ -1,9 +0,0 @@ -#!/bin/sh - -set -e - -if [ "$1" = "configure" ]; then - if [ -d /usr/doc -a ! -e /usr/doc/mmv -a -d /usr/share/doc/mmv ]; then - ln -sf ../share/doc/mmv /usr/doc/mmv - fi -fi diff --git a/debian/prerm b/debian/prerm deleted file mode 100644 index 206acd8..0000000 --- a/debian/prerm +++ /dev/null @@ -1,7 +0,0 @@ -#!/bin/sh - -set -e - -if [ \( "$1" = "upgrade" -o "$1" = "remove" \) -a -L /usr/doc/mmv ]; then - rm -f /usr/doc/mmv -fi diff --git a/debian/rules b/debian/rules index de490b2..41a93ba 100755 --- a/debian/rules +++ b/debian/rules @@ -73,8 +73,6 @@ binary-arch: build gzip -f9 debian/tmp/usr/share/doc/$(p)/* install -g root -m 644 -o root debian/copyright \ debian/tmp/usr/share/doc/$(p) - install -g root -m 755 -o root debian/postinst debian/prerm \ - debian/tmp/DEBIAN chmod -R g-sw debian/tmp/usr/share/doc/$(p) chown -R root.root debian/tmp/usr/share/doc/$(p) dpkg-shlibdeps debian/tmp/usr/bin/mmv -- 2.39.2