summaryrefslogtreecommitdiff
path: root/extra/sane/sane.install
blob: cbecf7b2e455e04c2e276061f0b477a5b1f08b93 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
post_install() {
    getent group scanner >/dev/null 2>&1 || groupadd -g 96 scanner &>/dev/null
	/bin/cat <<THEEND
NOTE
----
Add your user to group 'scanner' to use scanner devices.
THEEND
}

post_remove() {
    if getent group scanner >/dev/null 2>&1; then
        groupdel scanner
    fi
}