From: Ian Jackson Date: Sun, 10 Nov 2024 23:25:05 +0000 (+0000) Subject: debian: Abolish the prerm and postinst X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ian/git?a=commitdiff_plain;h=701dd81da14532ca2fec9beea4a37f2c91f1e43d;p=authbind.git debian: Abolish the prerm and postinst This was to do with the /usr/share/doc transition many many years ago. Closes: #866249 --- diff --git a/debian/changelog b/debian/changelog index fa0db85..2d384f7 100644 --- a/debian/changelog +++ b/debian/changelog @@ -10,6 +10,7 @@ authbind (2.2.0~) unstable; urgency=medium Removes the need for fakeroot. Closes: #1086628. [Niels Thykier] Probably also fixes #1075720. * d/control: Add `Vcs-*` headers. [Niels Thykier] + * Abolish the prerm and postinst (/usr/share transition). Closes: #866249. -- diff --git a/debian/postinst b/debian/postinst deleted file mode 100644 index cb07120..0000000 --- a/debian/postinst +++ /dev/null @@ -1,9 +0,0 @@ -#!/bin/sh - -if [ "$1" = "configure" ]; then - if [ -d /usr/doc -a -h /usr/doc/authbind -a -d /usr/share/doc/authbind ]; then - rm -f /usr/doc/authbind - fi -fi - - diff --git a/debian/prerm b/debian/prerm deleted file mode 100644 index 31beffd..0000000 --- a/debian/prerm +++ /dev/null @@ -1,7 +0,0 @@ -#!/bin/sh - -if [ \( "$1" = "upgrade" -o "$1" = "remove" \) -a -L /usr/doc/authbind ]; -then - rm -f /usr/doc/authbind -fi -