summaryrefslogtreecommitdiff
path: root/debian/libsane-common.postrm
diff options
context:
space:
mode:
Diffstat (limited to 'debian/libsane-common.postrm')
-rw-r--r--debian/libsane-common.postrm10
1 files changed, 10 insertions, 0 deletions
diff --git a/debian/libsane-common.postrm b/debian/libsane-common.postrm
new file mode 100644
index 0000000..98c45e3
--- /dev/null
+++ b/debian/libsane-common.postrm
@@ -0,0 +1,10 @@
+#!/bin/sh
+set -e
+
+# remove directory /etc/sane.d/
+if [ "$1" = "purge" ]; then
+ echo "Removing directory /etc/sane.d/ ..."
+ rmdir --ignore-fail-on-non-empty /etc/sane.d/
+fi
+
+#DEBHELPER#