1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/phpldapadmin_ynh.git synced 2024-09-03 19:56:45 +02:00

add helper ynh_normalize_url_path to upgrade script

This commit is contained in:
aymhce 2017-09-06 22:45:37 +00:00
parent ecf4bc1792
commit 73212e7c0b

View file

@ -13,8 +13,7 @@ domain=$(ynh_app_setting_get "$app" domain)
path=$(ynh_app_setting_get "$app" path) path=$(ynh_app_setting_get "$app" path)
admin=$(ynh_app_setting_get "$app" admin) admin=$(ynh_app_setting_get "$app" admin)
# Remove trailing "/" for next commands path=$(ynh_normalize_url_path $path)
path=${path%/}
# Copy files to the right place # Copy files to the right place
version=$(cat upstream_version) version=$(cat upstream_version)