repo.or.cz
/
aur-mirror.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git]
/
sane-git
/
sane.install
blob
850bd3255bc0d9ae3a26a528da54912a4c9b427f
1
# arg 1: the new package version
2
post_install() {
3
getent group scanner >/dev/null || usr/sbin/groupadd -g 96 scanner
4
/bin/cat <<THEEND
5
NOTE
6
----
7
Add your user to group 'scanner' to use scanner devices.
8
THEEND
9
}
10
11
# arg 1: the old package version
12
pre_remove() {
13
usr/sbin/groupdel scanner &>/dev/null
14
}