diff options
author | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2014-10-26 08:07:17 +0100 |
---|---|---|
committer | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2014-10-26 08:07:17 +0100 |
commit | d5af5e5b44d40be20cf0da5394ef8d5640b9eafa (patch) | |
tree | 4c857be9a172e7bf0180e3892383f687640cd31f /debian/libsane-common.postrm | |
parent | 4ada4fbf9512266bda642485e68a52f1dd7a6804 (diff) |
Correct some *.(postrm|preinst) scripts, remove useless parts
Diffstat (limited to 'debian/libsane-common.postrm')
-rw-r--r-- | debian/libsane-common.postrm | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/debian/libsane-common.postrm b/debian/libsane-common.postrm new file mode 100644 index 0000000..0212416 --- /dev/null +++ b/debian/libsane-common.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 |