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....
This commit is contained in:
12
sys/vms/install.com
Executable file → Normal file
12
sys/vms/install.com
Executable file → Normal file
@@ -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 "<done>"
|
||||
$ define/nolog nethackdir 'gamedir'
|
||||
|
||||
Reference in New Issue
Block a user