1 2 3 4 5 6 7 8 9 10 11 12
post_install() { echo "==> Daemon method deprecated. Now is starting automatically at login" echo "==> Remove stbd from DAEMONS list" } post_upgrade() { if [ `vercmp $2 2.6.1-2` -eq 0 ]; then echo "Removing stb-admin group" groupdel stb-admin &> /dev/null fi post_install $1 }