updated on Sat Jan 14 12:12:45 UTC 2012
[aur-mirror.git] / liquidsoap / liquidsoap.install
blobbbc34da1319b1ec7992e96393ebae9f2e65bbf72
1 post_install() {
2   if [ ! `egrep '^liquidsoap' /etc/passwd` ]; then
3     echo "Adding user/group liquidsoap"
4     groupadd -g 140 liquidsoap
5     sleep 2
6     useradd -u 140 -g liquidsoap -d /home/liquidsoap -s /bin/false liquidsoap
7   fi
10 post_upgrade() {
11   post_install $1
14 pre_remove() {
15   userdel -r liquidsoap &>/dev/null
16   groupdel liquidsoap &>/dev/null