From d4ef2dc6b2f93f0522b38a19d6b1b6f00584660e Mon Sep 17 00:00:00 2001 From: yalh76 Date: Tue, 26 Mar 2019 22:10:40 +0100 Subject: [PATCH] cleanup change_url script --- scripts/change_url | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/scripts/change_url b/scripts/change_url index 4278d43..0c0f4af 100644 --- a/scripts/change_url +++ b/scripts/change_url @@ -32,18 +32,8 @@ final_path=$(ynh_app_setting_get $app final_path) # Add settings here as needed by your application -db_name=$(ynh_app_setting_get $app db_name) port=$(ynh_app_setting_get $app port) -#================================================= -# CHECK THE SYNTAX OF THE PATHS -#================================================= - -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) - #================================================= # CHECK WHICH PARTS SHOULD BE CHANGED #=================================================