PKGBUILDs/community/system-tools-backends/system-tools-backends.install
2009-10-09 21:15:33 -05:00

25 lines
436 B
Text

post_install() {
echo "adding new group: stb-admin"
getent group stb-admin >/dev/null || usr/sbin/groupadd -g 112 stb-admin
echo "==> Add your user to stb-admin group with:"
echo "==> gpasswd -a user stb-admin"
echo
echo "==> You should add stbd to your DAEMONS list"
echo "==> in /etc/rc.conf"
}
post_upgrade() {
post_install $1
}
pre_remove() {
groupdel stb-admin &> /dev/null
}
post_remove() {
/bin/true
}