ynh_normalize_url_path is for stuff from the pre-2.7 era ...

This commit is contained in:
Alexandre Aubin 2020-12-01 01:25:08 +01:00 committed by GitHub
parent 0e728462e5
commit 03082fdc09
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -73,18 +73,6 @@ ynh_clean_setup () {
# Exit if an error occurs during the execution of the script # Exit if an error occurs during the execution of the script
ynh_abort_if_errors ynh_abort_if_errors
#=================================================
# CHECK THE PATH
#=================================================
# Normalize the URL path syntax
# N.B.: this is for app installations before YunoHost 2.7
# where this value might be something like /foo/ or foo/
# instead of /foo
# If nobody installed your app before 2.7, then you may
# safely remove this line
path_url=$(ynh_normalize_url_path --path_url=$path_url)
#================================================= #=================================================
# STANDARD UPGRADE STEPS # STANDARD UPGRADE STEPS
#================================================= #=================================================