summaryrefslogtreecommitdiff
path: root/debian/libsane.postrm
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff-webhosting.net>2014-10-06 14:00:40 +0200
committerJörg Frings-Fürst <debian@jff-webhosting.net>2014-10-06 14:00:40 +0200
commit6e9c41a892ed0e0da326e0278b3221ce3f5713b8 (patch)
tree2e301d871bbeeb44aa57ff9cc070fcf3be484487 /debian/libsane.postrm
Initial import of sane-backends version 1.0.24-1.2
Diffstat (limited to 'debian/libsane.postrm')
-rw-r--r--debian/libsane.postrm11
1 files changed, 11 insertions, 0 deletions
diff --git a/debian/libsane.postrm b/debian/libsane.postrm
new file mode 100644
index 0000000..0212416
--- /dev/null
+++ b/debian/libsane.postrm
@@ -0,0 +1,11 @@
+#!/bin/sh
+
+set -e
+
+#DEBHELPER#
+
+# 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