diff --git a/scripts/change_url b/scripts/change_url index 184db43..15329f7 100644 --- a/scripts/change_url +++ b/scripts/change_url @@ -41,8 +41,6 @@ port_http_proxy=$(ynh_app_setting_get "$app" port_http_proxy) # CHECK PATHS SYNTAX #================================================= -test -n "$old_path" || old_path="/" -test -n "$new_path" || new_path="/" new_path=$(ynh_normalize_url_path $new_path) old_path=$(ynh_normalize_url_path $old_path) diff --git a/scripts/install b/scripts/install index e0a0ac0..b8a2173 100644 --- a/scripts/install +++ b/scripts/install @@ -31,7 +31,6 @@ enable_terminal=$YNH_APP_ARG_ENABLE_TERMINAL #================================================= # Normalize the url path syntax -test -n "$path_url" || path_url="/" path_url=$(ynh_normalize_url_path $path_url) # This function check also the availability of this one