11 lines
431 B
Plaintext
11 lines
431 B
Plaintext
case "${ACTION}" in
|
|
post)
|
|
chown nethack:nethack usr/lib/nethack/nethack
|
|
chmod 02755 usr/lib/nethack/nethack
|
|
touch var/games/nethack/logfile var/games/nethack/perm var/games/nethack/record var/games/nethack/xlogfile
|
|
chown nethack:nethack var/games/nethack var/games/nethack/*
|
|
chmod 0775 var/games/nethack
|
|
chmod 0664 var/games/nethack/logfile var/games/nethack/perm var/games/nethack/record var/games/nethack/xlogfile
|
|
;;
|
|
esac
|