summaryrefslogtreecommitdiff
path: root/extra/libgphoto2/libgphoto2.install
blob: 3aee9ff8a87572a9c536bcd805e62d2153779ded (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
post_install() {
  getent group camera >/dev/null || usr/sbin/groupadd -g 97 camera
  /bin/cat <<THEEND
NOTE
----
Add your user to group 'camera' to use camera devices.
THEEND
}

post_upgrade() {
  getent group camera >/dev/null || usr/sbin/groupadd -g 97 camera
}

post_remove() {
  usr/sbin/groupdel camera &>/dev/null
}