mirror of
https://github.com/YunoHost-Apps/ampache_ynh.git
synced 2024-09-03 18:15:55 +02:00
add composer install to upgrade script
This commit is contained in:
parent
dae9885b3a
commit
e3927a29a9
1 changed files with 3 additions and 0 deletions
|
@ -39,6 +39,9 @@ sudo yunohost app setting $app skipped_uris -v "/"
|
||||||
sudo yunohost app ssowatconf
|
sudo yunohost app ssowatconf
|
||||||
|
|
||||||
# Ampache installation
|
# 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
|
echo "127.0.0.1 $domain #yunoampache" | sudo tee -a /etc/hosts
|
||||||
sleep 1
|
sleep 1
|
||||||
curl -kL -X POST http://$domain${path%/}/update.php?action=update > /dev/null 2>&1
|
curl -kL -X POST http://$domain${path%/}/update.php?action=update > /dev/null 2>&1
|
||||||
|
|
Loading…
Add table
Reference in a new issue