diff --git a/plugins/mysql-apt/index.py b/plugins/mysql-apt/index.py index 1cd067ef2..4b62c5de4 100755 --- a/plugins/mysql-apt/index.py +++ b/plugins/mysql-apt/index.py @@ -165,6 +165,10 @@ def pMysqlDb(): def initDreplace(version=''): + t = getServerDir() + if not os.path.exists(t): + return + conf_dir = getServerDir() + '/etc' mode_dir = conf_dir + '/mode'