Upgrade akaunting with composer

This commit is contained in:
Bob Mottram 2017-12-20 22:11:24 +00:00
parent 761bf4ccb4
commit 05660ba8f1
1 changed files with 3 additions and 0 deletions

View File

@ -177,6 +177,9 @@ function upgrade_akaunting {
function_check set_repo_commit function_check set_repo_commit
set_repo_commit /var/www/$AKAUNTING_DOMAIN_NAME/htdocs "akaunting commit" "$AKAUNTING_COMMIT" $AKAUNTING_REPO 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 chown -R www-data:www-data /var/www/${AKAUNTING_DOMAIN_NAME}/htdocs
} }