summaryrefslogtreecommitdiff
path: root/debian/sane-utils.config
blob: 93a73c57480b86095aad7a53957d969ff85f612b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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