diff options
author | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2019-04-27 09:13:33 +0200 |
---|---|---|
committer | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2019-04-27 09:13:33 +0200 |
commit | 2ea1114b4bd294ae0a60985945956507ec25d430 (patch) | |
tree | d42a0fe15270324ab013288cc37fe449c0dc7029 /debian/libsane.postinst | |
parent | ecff86e3856de0d6dca780004e15dfaf23bfddf8 (diff) |
Merge release 1.0.27.3.2 into source tree
Diffstat (limited to 'debian/libsane.postinst')
-rw-r--r-- | debian/libsane.postinst | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/debian/libsane.postinst b/debian/libsane.postinst new file mode 100644 index 0000000..971103e --- /dev/null +++ b/debian/libsane.postinst @@ -0,0 +1,24 @@ +#!/bin/sh +set -e + +case "$1" in + configure) + # Add the scanner system group if it doesn't exist + if ! getent group | grep -q "^scanner:"; then + echo "Adding scanner group..." + addgroup --quiet --system scanner || true + fi + + ;; + + abort-upgrade|abort-remove|abort-deconfigure) + ;; + + *) + echo "$0 called with unknown argument '$1'" >&2 + exit 1 + ;; +esac + + +#DEBHELPER# |