mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-28 10:02:43 +01:00
699c963fde
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
13 lines
378 B
Bash
13 lines
378 B
Bash
|
|
# 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
|