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

Merge pull request #24 from aymhce/master

fix for issue #23
This commit is contained in:
Développeur libre 2018-01-21 21:53:20 +01:00 committed by GitHub
commit 4e4f8070c9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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