2015-01-22 19:34:46 +01:00
|
|
|
case "${ACTION}" in
|
|
|
|
post)
|
|
|
|
chown nethack:nethack usr/lib/nethack/nethack
|
2015-01-23 13:08:05 +01:00
|
|
|
chmod 02755 usr/lib/nethack/nethack
|
2015-01-22 19:34:46 +01:00
|
|
|
touch var/games/nethack/logfile var/games/nethack/perm var/games/nethack/record
|
|
|
|
chown nethack:nethack var/games/nethack var/games/nethack/*
|
2015-01-23 13:08:05 +01:00
|
|
|
chmod 0775 var/games/nethack
|
|
|
|
chmod 0664 var/games/nethack/logfile var/games/nethack/perm var/games/nethack/record
|
2015-01-22 19:34:46 +01:00
|
|
|
;;
|
|
|
|
esac
|