chiark / gitweb /
debian: Abolish the prerm and postinst
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Sun, 10 Nov 2024 23:25:05 +0000 (23:25 +0000)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Sun, 10 Nov 2024 23:29:37 +0000 (23:29 +0000)
This was to do with the /usr/share/doc transition many many years ago.

Closes: #866249
debian/changelog
debian/postinst [deleted file]
debian/prerm [deleted file]

index fa0db85a4902d795e218a2f3d48a2e1fbf49075d..2d384f7d75914ed3d8cb2d9d2b97d0ebebddb26f 100644 (file)
@@ -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 (file)
index cb07120..0000000
+++ /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 (file)
index 31beffd..0000000
+++ /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
-