]> scripts.mit.edu Git - wizard.git/blobdiff - wizard/app/wordpress.py
Use CLI installer for MediaWiki 1.17.0 and later.
[wizard.git] / wizard / app / wordpress.py
index 8043a4875e0053577334bce03a1c75edc305dd5a..3ad340e1d1d78689e9576be10bad6f48d3a3c861 100644 (file)
@@ -146,7 +146,8 @@ class Application(app.Application):
         php.ini_replace_vars()
     def upgrade(self, d, version, options):
         result = d.fetch("wp-admin/upgrade.php?step=1")
-        if "Upgrade Complete" not in result and "No Upgrade Required" not in result:
+        if "Upgrade Complete" not in result and "Update Complete" not in result and \
+                "No Upgrade Required" not in result and "No Update Required" not in result:
             raise app.UpgradeFailure(result)
     @app.throws_database_errors
     def backup(self, deployment, backup_dir, options):