aboutsummaryrefslogtreecommitdiffstats
path: root/main/libgphoto2/libgphoto2.pre-install
diff options
context:
space:
mode:
Diffstat (limited to 'main/libgphoto2/libgphoto2.pre-install')
-rw-r--r--main/libgphoto2/libgphoto2.pre-install5
1 files changed, 2 insertions, 3 deletions
diff --git a/main/libgphoto2/libgphoto2.pre-install b/main/libgphoto2/libgphoto2.pre-install
index a7d31448b8..c696fcdcaf 100644
--- a/main/libgphoto2/libgphoto2.pre-install
+++ b/main/libgphoto2/libgphoto2.pre-install
@@ -1,6 +1,5 @@
#!/bin/sh
-if ! getent group camera >/dev/null; then
- addgroup -S camera
-fi
+addgroup -S camera 2>/dev/null
+exit 0