summarylogtreecommitdiffstats
path: root/cuckoo.install
blob: 64327a9474555a219e5d1ad0fba0ecec46070bb4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
post_install() {
  grep -q '^cuckoo:' /etc/group || groupadd cuckoo
  chgrp -R cuckoo /usr/share/cuckoo
  echo "Add yourself to the cuckoo group to use cuckoo as an unprivledged user."
}

post_upgrade() {
  post_install
}

post_remove() {
  groupdel cuckoo 2> /dev/null
}