wok rev 4966
fix: add group scanner
author | Rohit Joshi <jozee@slitaz.org> |
---|---|
date | Tue Feb 23 11:33:33 2010 +0000 (2010-02-23) |
parents | 9d22b4642908 |
children | c25a7bad6836 |
files | sane-backends/receipt |
line diff
1.1 --- a/sane-backends/receipt Mon Feb 22 20:26:25 2010 +0100 1.2 +++ b/sane-backends/receipt Tue Feb 23 11:33:33 2010 +0000 1.3 @@ -52,7 +52,9 @@ 1.4 root=$1 1.5 1.6 # add group scanner 1.7 - getent group scanner >/dev/null || addgroup -g 96 scanner 1.8 + if [ ! grep -q scanner $root/etc/group ]; then 1.9 + addgroup -g 96 scanner 1.10 + fi 1.11 1.12 echo " ADD yourself to group scanner to use sane: addgroup tux scanner" 1.13 }