PKGBUILDs/community/system-tools-backends/system-tools-backends.install

26 lines
436 B
Text
Raw Normal View History

2009-10-10 02:15:33 +00:00
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
}