From e3927a29a9fbd9b3e7751ee53b2ae1a0dc712a24 Mon Sep 17 00:00:00 2001 From: aymhce Date: Sun, 5 Jun 2016 10:17:55 +0200 Subject: [PATCH] add composer install to upgrade script --- scripts/upgrade | 3 +++ 1 file changed, 3 insertions(+) diff --git a/scripts/upgrade b/scripts/upgrade index a8f2b3e..80eb20f 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -39,6 +39,9 @@ sudo yunohost app setting $app skipped_uris -v "/" sudo yunohost app ssowatconf # Ampache installation +cd /var/www/$app +sudo php composer.phar install --prefer-source --no-interaction + echo "127.0.0.1 $domain #yunoampache" | sudo tee -a /etc/hosts sleep 1 curl -kL -X POST http://$domain${path%/}/update.php?action=update > /dev/null 2>&1