mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-29 08:21:07 +02:00
scripts: move migration script away from control scripts
Origin commit data
------------------
Commit: 58f91648c0
Author: vanhofen <vanhofen@gmx.de>
Date: 2021-09-26 (Sun, 26 Sep 2021)
Origin message was:
------------------
- scripts: move migration script away from control scripts
This commit is contained in:
@@ -365,7 +365,9 @@ int CNeutrinoApp::loadSetup(const char *fname)
|
||||
int erg = 0;
|
||||
|
||||
// execute migration script before loading configfile
|
||||
my_system(NEUTRINO_CONF_MIGRATION_SCRIPT);
|
||||
std::string migration_sh = find_executable("migration.sh");
|
||||
if (!migration_sh.empty())
|
||||
my_system(migration_sh.c_str());
|
||||
|
||||
configfile.clear();
|
||||
// load settings; setup defaults
|
||||
|
Reference in New Issue
Block a user