From 701dd81da14532ca2fec9beea4a37f2c91f1e43d Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Sun, 10 Nov 2024 23:25:05 +0000 Subject: [PATCH] debian: Abolish the prerm and postinst This was to do with the /usr/share/doc transition many many years ago. Closes: #866249 --- debian/changelog | 1 + debian/postinst | 9 --------- debian/prerm | 7 ------- 3 files changed, 1 insertion(+), 16 deletions(-) delete mode 100644 debian/postinst delete mode 100644 debian/prerm 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 - -- 2.30.2