updated on Wed Jan 18 12:20:32 UTC 2012
[aur-mirror.git] / vulture-nethack / vulture-nethack.install
blob3c432d2b60f2fb9cbe59a09e42316945d00b48ad
1 _pkgname=vulture-nethack
3 post_install() {
4   echo "Add user to the games group: \`gpasswd -a USER games' and relogin"
5   echo "Start the game with: \`$_pkgname-start'"
6   gtk-update-icon-cache -q -t -f /usr/share/icons/hicolor
9 post_upgrade() {
10   echo "Users are now required to join games group: \`gpasswd -a USER games' and relogin"
11   if [[ -d /var/lib/$_pkgname ]]; then
12     echo "Saved game-data should be moved to \`/var/games/$_pkgname'"
13   fi
14   gtk-update-icon-cache -q -t -f /usr/share/icons/hicolor
17 post_remove() {
18   if [[ -d /var/games/$_pkgname ]];then
19     echo -e "Saved game-data has not been deleted: \`/var/games/$_pkgname'"
20   fi
21   gtk-update-icon-cache -q -t -f /usr/share/icons/hicolor