Last minute fix : install php7.0-acpu to hopefully make stretch still work after the upgrade

This commit is contained in:
Alexandre Aubin 2018-06-16 20:59:18 +02:00
parent 022524473e
commit 0c248bcb7e

View file

@ -221,9 +221,9 @@ class MyMigration(Migration):
upgrade_command += " apt-get install" upgrade_command += " apt-get install"
upgrade_command += " --assume-yes " upgrade_command += " --assume-yes "
upgrade_command += " ".join(YUNOHOST_PACKAGES) upgrade_command += " ".join(YUNOHOST_PACKAGES)
# We also install php-zip to fix an issue with nextcloud and kanboard # We also install php-zip and php7.0-acpu to fix an issue with
# that need it when on stretch. # nextcloud and kanboard that need it when on stretch.
upgrade_command += " php-zip" upgrade_command += " php-zip php7.0-apcu"
upgrade_command += " 2>&1 | tee -a {}".format(self.logfile) upgrade_command += " 2>&1 | tee -a {}".format(self.logfile)
wait_until_end_of_yunohost_command = "(while [ -f {} ]; do sleep 2; done)".format(MOULINETTE_LOCK) wait_until_end_of_yunohost_command = "(while [ -f {} ]; do sleep 2; done)".format(MOULINETTE_LOCK)