void-packages/srcpkgs/bsd-games/INSTALL

32 lines
625 B
Text
Raw Normal View History

2015-02-21 20:13:42 +00: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