From: PatR Date: Wed, 2 Dec 2015 01:50:40 +0000 (-0800) Subject: From KevinS: update sys/vms/install.com X-Git-Tag: NetHack-3.6.0_RC02~18 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=abf997994c69588d35ff019b7585857b27d2c994;p=nethack From KevinS: update sys/vms/install.com Include a template sysconf file when setting up the playground directory. TODO: provide a sys/vms/sysconf template sysconf file.... --- diff --git a/sys/vms/install.com b/sys/vms/install.com old mode 100755 new mode 100644 index 87f5fb7c0..21298a9bb --- a/sys/vms/install.com +++ b/sys/vms/install.com @@ -26,6 +26,7 @@ $ ! to avoid inadvertent logical name interaction $ play_files = "PERM.,RECORD.,LOGFILE.,PANICLOG." $ help_files = "HELP.,HH.,CMDHELP.,WIZHELP.,OPTHELP.,HISTORY.,LICENSE." $ data_files = "DATA.,RUMORS.,ORACLES.,OPTIONS.,QUEST.DAT,TRIBUTE." +$ sysconf_file = "[.sys.vms]sysconf" $ guidebook = "[.doc]Guidebook.txt" $ invoc_proc = "[.sys.vms]nethack.com" $ trmcp_file = "[.sys.share]termcap" @@ -230,6 +231,17 @@ $ call copy_file 'trmcp_file' 'gamedir'termcap "r" $skip_termcap: $ if p3.nes."" then exit $! +$! provide template sysconf file (needed if nethack is built w/ SYSCF enabled) +$make_sysconf: +$ if f$search(sysconf_file).eqs."" then goto skip_sysconf +$ if f$search("''gamedir'sysconf_file").nes."" then goto skip_sysconf +$ milestone "(sysconf)" +$ call copy_file 'sysconf_file' 'gamedir'sysconf "r" +$! owner should be able to manually edit sysconf; others shouldn't +$ set file/Prot=(s:rwd,o:rwd,g:r,w:r) 'gamedir'sysconf +$skip_sysconf: +$ if p3.nes."" then exit +$! $! done $ milestone "" $ define/nolog nethackdir 'gamedir'