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

fix composer dev mode + link for level4 #21

This commit is contained in:
aymhce 2018-01-13 17:08:35 +01:00
parent cb226e3e52
commit a29071c3ec
2 changed files with 3 additions and 1 deletions

View file

@ -22,6 +22,7 @@
Level 1=auto
Level 2=auto
Level 3=auto
# ldap actived with auth_methods = "ldap", ref conf/ampache.cfg.php
Level 4=1
Level 5=auto
Level 6=auto

View file

@ -25,7 +25,8 @@ ampache_ynh_install () {
cd $final_path
php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');"
php composer-setup.php
php composer.phar install --prefer-source --no-interaction
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
)