wok diff sane-backends/receipt @ 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 da5d73a600f3
children 4897058add72
line diff
     1.1 --- a/sane-backends/receipt	Tue Jun 16 12:16:43 2009 +0000
     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  }