]> git.proxmox.com Git - mirror_smartmontools-debian.git/commitdiff
Remove /etc/init.d/smartd
authorGiuseppe Iuculano <iuculano@debian.org>
Wed, 20 Jun 2012 14:34:55 +0000 (16:34 +0200)
committerGiuseppe Iuculano <iuculano@debian.org>
Wed, 20 Jun 2012 14:34:55 +0000 (16:34 +0200)
Close: #677095

debian/smartmontools.postinst
debian/smartmontools.preinst [new file with mode: 0644]

index dc3492bc8951f27bb3383d3815b5d0072229e33d..afd87547ec26875737c393b5c4f57b8ab8add562 100644 (file)
@@ -11,4 +11,7 @@ if dpkg --compare-versions "$2" lt "5.38+svn2879-1"; then
        fi
 fi
 
+dpkg-maintscript-helper rm_conffile \
+       /etc/init.d/smartd  5.42+svn3539-1~ smartmontools -- "$@" 
+
 #DEBHELPER#
diff --git a/debian/smartmontools.preinst b/debian/smartmontools.preinst
new file mode 100644 (file)
index 0000000..3c3dbfc
--- /dev/null
@@ -0,0 +1,8 @@
+#!/bin/sh
+set -e
+
+dpkg-maintscript-helper rm_conffile \
+        /etc/init.d/smartd  5.42+svn3539-1~ smartmontools -- "$@"
+
+#DEBHELPER#
+