Skip to content
Snippets Groups Projects
Commit dad1051f authored by rswindell's avatar rswindell
Browse files

Run 'binkit upgrade' if binkit.ini and sbbsecho.ini exists

(the upgrade renames binkit.ini and ftn_domains.ini to *.old).
parent d6bef23f
No related branches found
No related tags found
No related merge requests found
......@@ -71,6 +71,13 @@ if(file_exists(sbbsecho_cfg) && !file_exists(sbbsecho_ini)) {
load({}, "sbbsecho_upgrade.js");
}
var binkit_ini = system.ctrl_dir + "binkit.ini";
if(file_exists(binkit_ini) && file_exists(sbbsecho_ini)) {
printf("Merging %s with %s: ", binkit_ini, sbbsecho_ini);
if(!test)
load({}, "binkit.js", "upgrade");
}
if(!file_exists(system.data_dir + "sbbslist.json")) {
print("Installing SBBSLIST v4 (replacing SBL v3)");
if(!test)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment