if result.find("Installation successful") == -1:
raise install.Failure()
os.rename('config/LocalSettings.php', 'LocalSettings.php')
- def upgrade(self, version, options):
+ def upgrade(self, d, version, options):
sh = shell.Shell()
if not os.path.isfile("AdminSettings.php"):
sh.call("git", "checkout", "mediawiki-" + str(version), "--", "AdminSettings.php")