diff options
Diffstat (limited to 'debian')
-rw-r--r-- | debian/changelog | 2 | ||||
-rw-r--r-- | debian/ipmitool.maintscript | 2 | ||||
-rw-r--r-- | debian/ipmitool.postrm | 20 |
3 files changed, 22 insertions, 2 deletions
diff --git a/debian/changelog b/debian/changelog index 4f39b04..329ae8b 100644 --- a/debian/changelog +++ b/debian/changelog @@ -6,7 +6,7 @@ ipmitool (1.8.18-9) unstable; urgency=medium - Remove debian/ipmitool.ipmievd.init. - Remove debian/ipmitool.lintian-overrides. - Remove debian/ipmitool.postinst. - - Remove debian/ipmitool.postrm. + - Rewrite debian/ipmitool.postrm. - Remove debian/ipmitool.prerm. - Remove override_dh_installinit from debian/rules. - Remove init-system-helpers (>> 1.50) from debian/control. diff --git a/debian/ipmitool.maintscript b/debian/ipmitool.maintscript index 29e43b2..deee429 100644 --- a/debian/ipmitool.maintscript +++ b/debian/ipmitool.maintscript @@ -1,2 +1,2 @@ rm_conffile /etc/default/ipmitool 1.8.18-6~ ipmitool -rm_conffile /etc/init.d/ipmievd 1.8.18-9~ ipmitool +rm_conffile /etc/init.d/ipmievd 1.8.18-8~ ipmitool diff --git a/debian/ipmitool.postrm b/debian/ipmitool.postrm new file mode 100644 index 0000000..f6d6ee9 --- /dev/null +++ b/debian/ipmitool.postrm @@ -0,0 +1,20 @@ +#!/bin/sh + +set -e + + +# +# remove System V init file artefacte +# new since 1.8.18-9 +# +if [ "$1" = "purge" ] | [ "$1" = "remove" ]; then + rm -f /etc/rc0.d/K01ipmievd + rm -f /etc/rc1.d/K01ipmievd + rm -f /etc/rc2.d/K01ipmievd + rm -f /etc/rc3.d/K01ipmievd + rm -f /etc/rc4.d/K01ipmievd + rm -f /etc/rc5.d/K01ipmievd + rm -f /etc/rc6.d/K01ipmievd +fi + +#DEBHELPER# |