| 809 | } |
| 810 | |
| 811 | void |
| 812 | copy_config_content(void) |
| 813 | { |
| 814 | /* Using the CONFIGPREFIX path, lock it so that it does not change */ |
| 815 | fqn_prefix_locked[CONFIGPREFIX] = TRUE; |
| 816 | |
| 817 | /* Keep templates up to date */ |
| 818 | update_file(gf.fqn_prefix[CONFIGPREFIX], CONFIG_TEMPLATE, |
| 819 | gf.fqn_prefix[DATAPREFIX], CONFIG_TEMPLATE, FALSE); |
| 820 | |
| 821 | /* If the required early game file does not exist, copy it */ |
| 822 | /* NOTE: We never replace .nethackrc or sysconf */ |
| 823 | copy_file(gf.fqn_prefix[CONFIGPREFIX], CONFIG_FILE, |
| 824 | gf.fqn_prefix[DATAPREFIX], CONFIG_TEMPLATE, FALSE); |
| 825 | } |
| 826 | |
| 827 | void |
| 828 | copy_hack_content(void) |
no test coverage detected