wok diff libgphoto2/receipt @ rev 4984
fix: RAM for openoffice
author | Rohit Joshi <jozee@slitaz.org> |
---|---|
date | Thu Feb 25 10:30:21 2010 +0000 (2010-02-25) |
parents | 1eb70625402e |
children | 8752c40cc534 |
line diff
1.1 --- a/libgphoto2/receipt Mon Jun 15 15:15:09 2009 +0000 1.2 +++ b/libgphoto2/receipt Thu Feb 25 10:30:21 2010 +0000 1.3 @@ -68,8 +68,10 @@ 1.4 local root 1.5 root=$1 1.6 1.7 - # add group camera or plugdev 1.8 - getent group camera >/dev/null || addgroup -g 97 camera 1.9 + # add group camera 1.10 + if [ ! grep -q camera $root/etc/group ]; then 1.11 + addgroup -g 97 camera 1.12 + fi 1.13 1.14 echo "Don't forget to add yourself to group camera to use libgphoto2: addgroup tux camera" 1.15 }