summaryrefslogtreecommitdiffstats
path: root/debian/smartmontools.postrm
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--debian/smartmontools.postrm15
1 files changed, 15 insertions, 0 deletions
diff --git a/debian/smartmontools.postrm b/debian/smartmontools.postrm
new file mode 100644
index 0000000..8790b1d
--- /dev/null
+++ b/debian/smartmontools.postrm
@@ -0,0 +1,15 @@
+#!/bin/sh
+set -e
+
+case "$1" in
+ purge)
+ if [ -d /var/lib/smartmontools ] ; then
+ rm -rf /var/lib/smartmontools
+ fi
+ ;;
+
+esac
+
+#DEBHELPER#
+
+exit 0