wok rev 4968
fix: add camera group in libgphoto2
author | Rohit Joshi <jozee@slitaz.org> |
---|---|
date | Tue Feb 23 16:06:09 2010 +0000 (2010-02-23) |
parents | c25a7bad6836 |
children | bee79018e13a |
files | libgphoto2/receipt |
line diff
1.1 --- a/libgphoto2/receipt Tue Feb 23 21:36:47 2010 +0100 1.2 +++ b/libgphoto2/receipt Tue Feb 23 16:06:09 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 }