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:
commit
4b08adcb01
2 changed files with 16 additions and 3 deletions
|
@ -21,5 +21,5 @@ Email=
|
||||||
Notification=none
|
Notification=none
|
||||||
;;; Upgrade options
|
;;; Upgrade options
|
||||||
; commit=72d530415c016b23b6ba62085272957b04d2cca6
|
; 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&
|
manifest_arg=domain=DOMAIN&path=PATH&admin=USER&language=fr&is_public=1&password=pass&port=666&
|
||||||
|
|
|
@ -133,8 +133,21 @@ ynh_install_app_dependencies $pkg_dependencies
|
||||||
# # SECURING FILES AND DIRECTORIES
|
# # SECURING FILES AND DIRECTORIES
|
||||||
# #=================================================
|
# #=================================================
|
||||||
|
|
||||||
# chown -R $app:www-data /home/yunohost.app/$app
|
# Rename legacy folder to proper location
|
||||||
# chmod 764 /home/yunohost.app/$app
|
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
|
# YUNOHOST MULTIMEDIA INTEGRATION
|
||||||
|
|
Loading…
Reference in a new issue