self.install_old(options)
def install_1_17_0(self, options):
util.soft_unlink("LocalSettings.php")
+ with util.ChangeDirectory("math"):
+ shell.call("make")
try:
result = shell.eval(
"php", "maintenance/install.php",
def upgrade(self, d, version, options):
if not os.path.isfile("AdminSettings.php"):
shell.call("git", "checkout", "-q", "mediawiki-" + str(version), "--", "AdminSettings.php")
+ with util.ChangeDirectory("math"):
+ shell.call("make")
try:
result = shell.eval("php", "maintenance/update.php", "--quick", log=True)
except shell.CallError as e: