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

# arg 1:  the old package version
pre_remove() {
  usr/sbin/groupdel scanner &>/dev/null
}