diff --git a/plugins/php-apt/index.py b/plugins/php-apt/index.py index 2a714e48c..4dae1c3b8 100755 --- a/plugins/php-apt/index.py +++ b/plugins/php-apt/index.py @@ -23,6 +23,9 @@ if mw.isAppleSystem(): app_debug = True +def localVersion(v): + return v[0:1]+v[2:3] + def getPluginName(): return 'php-apt' @@ -186,7 +189,7 @@ def initReplace(version): makeOpConf(version) phpFpmWwwReplace(version) - install_ok = getAppDir() + "/" + version + "/install.ok" + install_ok = getAppDir() + "/" + localVersion(version) + "/install.ok" if not os.path.exists(install_ok): phpFpmReplace(version)