From 699c963fde9fd3f1ef871678631e7fe1af196be9 Mon Sep 17 00:00:00 2001 From: "B. Watson" Date: Fri, 5 Sep 2014 06:59:14 +0700 Subject: games/noteye: Added (roguelike frontend). Signed-off-by: Willy Sudiarto Raharjo --- games/noteye/doinst.sh | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 games/noteye/doinst.sh (limited to 'games/noteye/doinst.sh') diff --git a/games/noteye/doinst.sh b/games/noteye/doinst.sh new file mode 100644 index 0000000000..9fa0d8b3fa --- /dev/null +++ b/games/noteye/doinst.sh @@ -0,0 +1,13 @@ + +# create empty high score file only if there isn't one +if [ ! -e var/games/hydrascores.sav ]; then + touch var/games/hydrascores.sav +fi + +# always reset perms/ownership +chmod 660 var/games/hydrascores.sav +chown root:games var/games/hydrascores.sav + +if [ -x /usr/bin/update-desktop-database ]; then + /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1 +fi -- cgit v1.2.3