diff options
author | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2014-10-06 14:00:40 +0200 |
---|---|---|
committer | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2014-10-06 14:00:40 +0200 |
commit | 6e9c41a892ed0e0da326e0278b3221ce3f5713b8 (patch) | |
tree | 2e301d871bbeeb44aa57ff9cc070fcf3be484487 /debian/sane-utils.config |
Initial import of sane-backends version 1.0.24-1.2
Diffstat (limited to 'debian/sane-utils.config')
-rw-r--r-- | debian/sane-utils.config | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/debian/sane-utils.config b/debian/sane-utils.config new file mode 100644 index 0000000..93a73c5 --- /dev/null +++ b/debian/sane-utils.config @@ -0,0 +1,18 @@ +#!/bin/sh +set -e + +. /usr/share/debconf/confmodule + +if [ -e /etc/default/saned ]; then + . /etc/default/saned + + if [ "$RUN" != "yes" ]; then + db_set sane-utils/saned_run false + else + db_set sane-utils/saned_run true + fi +fi + +db_input medium sane-utils/saned_run || true +db_input medium sane-utils/saned_scanner_group || true +db_go || true |