1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/jupyterlab_ynh.git synced 2024-09-03 19:26:35 +02:00

Revert "clean change_url and install scripts"

This reverts commit 2575f3dceb.
This commit is contained in:
Pierre Bourré 2019-01-22 21:11:27 +01:00
parent da8a45990e
commit 3373cf9acf
2 changed files with 3 additions and 0 deletions

View file

@ -41,6 +41,8 @@ port_http_proxy=$(ynh_app_setting_get "$app" port_http_proxy)
# CHECK PATHS SYNTAX # CHECK PATHS SYNTAX
#================================================= #=================================================
test -n "$old_path" || old_path="/"
test -n "$new_path" || new_path="/"
new_path=$(ynh_normalize_url_path $new_path) new_path=$(ynh_normalize_url_path $new_path)
old_path=$(ynh_normalize_url_path $old_path) old_path=$(ynh_normalize_url_path $old_path)

View file

@ -31,6 +31,7 @@ enable_terminal=$YNH_APP_ARG_ENABLE_TERMINAL
#================================================= #=================================================
# Normalize the url path syntax # Normalize the url path syntax
test -n "$path_url" || path_url="/"
path_url=$(ynh_normalize_url_path $path_url) path_url=$(ynh_normalize_url_path $path_url)
# This function check also the availability of this one # This function check also the availability of this one