void-packages/srcpkgs/bsd-games/INSTALL

32 lines
625 B
Plaintext
Raw Normal View History

2015-02-21 21:13:42 +01:00
set -e # learned the hard way
mkscore() {
touch var/games/bsdgames/"$1"
chown root:users var/games/bsdgames/"$1"
chmod 0664 var/games/bsdgames/"$1"
}
case "${ACTION}" in
post)
mkscore atc_score
mkscore battlestar.log
mkscore cfscores
mkscore criblog
mkscore saillog
mkscore snake.log
mkscore snakerawscores
mkscore tetris-bsd.scores
mkscore robots_roll
mkscore phantasia/characs
mkscore phantasia/gold
mkscore phantasia/lastdead
mkscore phantasia/mess
mkscore phantasia/motd
mkscore phantasia/scoreboard
mkscore phantasia/void
mkscore phantasia/monsters
mkscore hack/record
mkscore hack/perm
;;
esac