1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/ampache_ynh.git synced 2024-09-03 18:15:55 +02:00

fix for issue #23

This commit is contained in:
aymhce 2018-01-21 21:21:29 +01:00
parent a29071c3ec
commit 42b567472a

View file

@ -22,14 +22,16 @@ ampache_ynh_prepareconfig () {
# Ampache installation
ampache_ynh_install () {
(
export COMPOSER_HOME=$final_path
cd $final_path
php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');"
php composer-setup.php
php composer.phar update --no-interaction --no-dev
php composer.phar install --prefer-source --no-interaction --no-dev
# Set permissions to ampache directory
chown -R www-data: $final_path
)
# Set permissions to ampache directory
chown -R www-data: $final_path
}
# Regenerate SSOwat conf