# HG changeset patch # User Rohit Joshi # Date 1266941169 0 # Node ID 157a71f716c6c4aa3e8a1d136848a1ad1e441451 # Parent c25a7bad6836d9f047cbba0198489af20f3aa4a0 fix: add camera group in libgphoto2 diff -r c25a7bad6836 -r 157a71f716c6 libgphoto2/receipt --- a/libgphoto2/receipt Tue Feb 23 21:36:47 2010 +0100 +++ b/libgphoto2/receipt Tue Feb 23 16:06:09 2010 +0000 @@ -68,8 +68,10 @@ local root root=$1 - # add group camera or plugdev - getent group camera >/dev/null || addgroup -g 97 camera + # add group camera + if [ ! grep -q camera $root/etc/group ]; then + addgroup -g 97 camera + fi echo "Don't forget to add yourself to group camera to use libgphoto2: addgroup tux camera" }