mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-28 22:57:37 +00:00
25 lines
436 B
Text
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
|
|
}
|
|
|