diff options
author | B. Watson <yalhcru@gmail.com> | 2014-09-05 06:59:14 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2014-09-06 00:02:52 +0700 |
commit | 699c963fde9fd3f1ef871678631e7fe1af196be9 (patch) | |
tree | 9caa4b51812c1edd740562723bdf495e816363cc /games/noteye/doinst.sh | |
parent | 8557e772da342593f0858610a907a8d99d196b33 (diff) | |
download | slackbuilds-699c963fde9fd3f1ef871678631e7fe1af196be9.tar.gz |
games/noteye: Added (roguelike frontend).
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'games/noteye/doinst.sh')
-rw-r--r-- | games/noteye/doinst.sh | 13 |
1 files changed, 13 insertions, 0 deletions
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 |