summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2024-12-15 08:50:06 +0100
committerDaniel Baumann <daniel@debian.org>2024-12-15 08:50:06 +0100
commit4018433193ce03481f949afb8a2bec0ae6f73021 (patch)
treedc1796c896981737d6aad9201b408f8e8ebdbf42
parentReleasing debian version 1.9.19-4. (diff)
downloadhaveged-4018433193ce03481f949afb8a2bec0ae6f73021.tar.xz
haveged-4018433193ce03481f949afb8a2bec0ae6f73021.zip
Removing old init.d script on upgrade (Closes: #1089979).
Signed-off-by: Daniel Baumann <daniel@debian.org>
-rwxr-xr-xdebian/haveged.postinst9
-rwxr-xr-xdebian/haveged.postrm9
-rwxr-xr-xdebian/haveged.preinst9
3 files changed, 27 insertions, 0 deletions
diff --git a/debian/haveged.postinst b/debian/haveged.postinst
new file mode 100755
index 0000000..d2a8ab7
--- /dev/null
+++ b/debian/haveged.postinst
@@ -0,0 +1,9 @@
+#!/bin/sh
+
+set -e
+
+dpkg-maintscript-helper rm_conffile /etc/init.d/haveged 1.1.9.19-5~ haveged -- "${@}"
+
+#DEBHELPER#
+
+exit 0
diff --git a/debian/haveged.postrm b/debian/haveged.postrm
new file mode 100755
index 0000000..d2a8ab7
--- /dev/null
+++ b/debian/haveged.postrm
@@ -0,0 +1,9 @@
+#!/bin/sh
+
+set -e
+
+dpkg-maintscript-helper rm_conffile /etc/init.d/haveged 1.1.9.19-5~ haveged -- "${@}"
+
+#DEBHELPER#
+
+exit 0
diff --git a/debian/haveged.preinst b/debian/haveged.preinst
new file mode 100755
index 0000000..d2a8ab7
--- /dev/null
+++ b/debian/haveged.preinst
@@ -0,0 +1,9 @@
+#!/bin/sh
+
+set -e
+
+dpkg-maintscript-helper rm_conffile /etc/init.d/haveged 1.1.9.19-5~ haveged -- "${@}"
+
+#DEBHELPER#
+
+exit 0