diff options
author | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2014-10-14 10:37:33 +0200 |
---|---|---|
committer | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2014-10-14 10:37:33 +0200 |
commit | 0cdca259ca073f77b9ae831feb367b6d120e83cf (patch) | |
tree | 50862cd94a3ee737ed614fd793821ba29c969ee7 /debian/sane-utils.config | |
parent | 82a152928f820a6aeb02ef8cd9ebfa7d3bcaae48 (diff) |
some work for version 1.0.24-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 |