From eb49bcd73e6f6b1cc250991ad1d1c4bf973eef16 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Josu=C3=A9=20Tille?= Date: Sun, 1 Dec 2019 21:09:40 +0100 Subject: [PATCH] Clean change-url script --- scripts/change_url | 2 -- 1 file changed, 2 deletions(-) diff --git a/scripts/change_url b/scripts/change_url index 2e4a629..a3b98b1 100644 --- a/scripts/change_url +++ b/scripts/change_url @@ -86,8 +86,6 @@ sed --in-place "s@ALLOWED_HOSTS = \['${old_domain}'\]@ALLOWED_HOSTS = \['${domai ynh_replace_string --match_string "REMOTE_USER_DOMAIN = '$old_domain'" --replace_string "REMOTE_USER_DOMAIN = '$domain'" --target_file $final_path/conf/seahub_settings.py sed --in-place "s@REMOTE_USER_PROTECTED_PATH = \['$old_path', '$old_path/accounts/login'\]@REMOTE_USER_PROTECTED_PATH = \['$path_url', '$path_url/accounts/login'\]@g" $final_path/conf/seahub_settings.py -ynh_script_progression --message="Updating seafile database" --weight=7 - # Avoid the current effect sleep 2