updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / twind / twind.install
blobc411ea6e51a18a96c8830789f97b9da94070d8db
1 pkgname=twind
3 post_install() {
4 if [ -e /var/games/twind/twind.hscr ]; then
5   echo "highscores won't be updated"
6 else
7   mkdir -p /var/games/twind/
8   touch /var/games/twind/twind.hscr
9   chmod 777 /var/games/twind/twind.hscr
13 post_upgrade() {
14   post_install $1
18 post_remove() {
19   cp /var/games/twind/twind.hscr /var/games/twind/twind.hscr.back