updated on Wed Jan 11 00:07:16 UTC 2012
[aur-mirror.git] / sabayon-svn / sabayon.install
blob7e21e812326fe69500b3c0f2d7991bfb30decedd
1 post_install() {
2     if [ ! "`grep ^sabayon /etc/passwd`" ]; then
3         echo "Adding new user: sabayon"
4         /usr/sbin/useradd -m -c "Sabayon user" -d /var/lib/sabayon -g nobody -s /sbin/nologin sabayon 
5     fi
6     post_remove $1
9 post_upgrade() {
10     post_install $1
13 post_remove() {
14     update-desktop-database -q
15     gtk-update-icon-cache -q -t -f usr/share/icons/hicolor