mirror of
https://github.com/YunoHost-Apps/ampache_ynh.git
synced 2024-09-03 18:15:55 +02:00
commit
4e4f8070c9
1 changed files with 4 additions and 2 deletions
|
@ -22,14 +22,16 @@ ampache_ynh_prepareconfig () {
|
||||||
# Ampache installation
|
# Ampache installation
|
||||||
ampache_ynh_install () {
|
ampache_ynh_install () {
|
||||||
(
|
(
|
||||||
|
export COMPOSER_HOME=$final_path
|
||||||
cd $final_path
|
cd $final_path
|
||||||
php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');"
|
php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');"
|
||||||
php composer-setup.php
|
php composer-setup.php
|
||||||
php composer.phar update --no-interaction --no-dev
|
php composer.phar update --no-interaction --no-dev
|
||||||
php composer.phar install --prefer-source --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
|
# Regenerate SSOwat conf
|
||||||
|
|
Loading…
Add table
Reference in a new issue