1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/mopidy_ynh.git synced 2024-09-03 19:46:21 +02:00

fix URI permissions

This commit is contained in:
siwinter 2021-03-10 00:33:24 +01:00
parent dab4b90e42
commit 5729e42df1
2 changed files with 1 additions and 15 deletions

View file

@ -40,16 +40,6 @@ ynh_script_progression --message="Validating installation parameters..." --time
test ! -e "$final_path" || ynh_die --message="This path already contains a folder" test ! -e "$final_path" || ynh_die --message="This path already contains a folder"
# Check web path availability
ynh_webpath_available $domain $path_url\
|| ynh_die --message="Path not available: ${domain}${path_url}"
ynh_webpath_available $domain "/musicbox_webclient"\
|| ynh_die --message="Path not available: ${domain}/musicbox_webclient"
ynh_webpath_available $domain "/mopidy"\
|| ynh_die --message="Path not available: ${domain}/mopidy"
ynh_webpath_available $domain "/local"\
|| ynh_die --message="Path not available: ${domain}/local"
# Register (book) web path # Register (book) web path
ynh_webpath_register --app=$app --domain=$domain --path_url=$path_url ynh_webpath_register --app=$app --domain=$domain --path_url=$path_url
@ -187,7 +177,7 @@ fi
ynh_permission_url --permission="main" --add_url="$domain/mopidy/ws" ynh_permission_url --permission="main" --add_url="$domain/mopidy/ws"
ynh_permission_url --permission="main" --add_url="$domain/musicbox_webclient" ynh_permission_url --permission="main" --add_url="$domain/musicbox_webclient"
#ynh_permission_url --permission="main" --add_url="$domain/local" ynh_permission_url --permission="main" --add_url="$domain/local"
#================================================= #=================================================
# RELOAD NGINX # RELOAD NGINX

View file

@ -51,10 +51,6 @@ ynh_webpath_available $domain "/mopidy"\
ynh_webpath_available $domain "/local"\ ynh_webpath_available $domain "/local"\
|| ynh_die --message="Path not available: ${domain}/local" || ynh_die --message="Path not available: ${domain}/local"
# Register (book) web path
ynh_webpath_register --app=$app --domain=$domain --path_url=$path_url
#================================================= #=================================================
# STANDARD RESTORATION STEPS # STANDARD RESTORATION STEPS
#================================================= #=================================================