1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/airsonic_ynh.git synced 2024-09-03 18:06:14 +02:00

Merge branch 'testing' into patch

This commit is contained in:
Éric Gaspar 2021-08-13 07:04:42 +02:00 committed by GitHub
commit 4b08adcb01
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 16 additions and 3 deletions

View file

@ -21,5 +21,5 @@ Email=
Notification=none
;;; Upgrade options
; commit=72d530415c016b23b6ba62085272957b04d2cca6
name=Name and date of the commit.
name=10.5.0~ynh2 on March 2020
manifest_arg=domain=DOMAIN&path=PATH&admin=USER&language=fr&is_public=1&password=pass&port=666&

View file

@ -133,8 +133,21 @@ ynh_install_app_dependencies $pkg_dependencies
# # SECURING FILES AND DIRECTORIES
# #=================================================
# chown -R $app:www-data /home/yunohost.app/$app
# chmod 764 /home/yunohost.app/$app
# Rename legacy folder to proper location
if [[ ! -e /home/yunohost.app/$app ]] && [[ -e /home/yunohost.$app ]]
then
mkdir -p /home/yunohost.app/
mv /home/yunohost.$app /home/yunohost.app/$app
fi
mkdir -p /home/yunohost.app/$app/{Podcasts,Playlists}
#=================================================
# SECURING FILES AND DIRECTORIES
#=================================================
chown -R $app:www-data /home/yunohost.app/$app
chmod 764 /home/yunohost.app/$app
#=================================================
# YUNOHOST MULTIMEDIA INTEGRATION