From 05660ba8f151fc48c45b8beb3bd758cedd780c9f Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Wed, 20 Dec 2017 22:11:24 +0000 Subject: [PATCH] Upgrade akaunting with composer --- src/freedombone-app-akaunting | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/freedombone-app-akaunting b/src/freedombone-app-akaunting index 3147815c..6c1ad6ff 100755 --- a/src/freedombone-app-akaunting +++ b/src/freedombone-app-akaunting @@ -177,6 +177,9 @@ function upgrade_akaunting { function_check set_repo_commit set_repo_commit /var/www/$AKAUNTING_DOMAIN_NAME/htdocs "akaunting commit" "$AKAUNTING_COMMIT" $AKAUNTING_REPO + cd /var/www/$AKAUNTING_DOMAIN_NAME/htdocs + install_composer + chown -R www-data:www-data /var/www/${AKAUNTING_DOMAIN_NAME}/htdocs }