From 22fb2fe28d4f79f34e3a8e7568fe22d9511eb4d7 Mon Sep 17 00:00:00 2001 From: Ruslan Baidan Date: Fri, 23 Apr 2021 11:20:57 +0200 Subject: [PATCH] Renamed the script. --- scripts/update_config_variable.sh | 9 --------- 1 file changed, 9 deletions(-) delete mode 100644 scripts/update_config_variable.sh diff --git a/scripts/update_config_variable.sh b/scripts/update_config_variable.sh deleted file mode 100644 index 6021b78..0000000 --- a/scripts/update_config_variable.sh +++ /dev/null @@ -1,9 +0,0 @@ -version=$(cat ./VERSION.json) -version_affected='{"major":2, "minor":10, "hotfix":3}' -if [[ $version == "$version_affected" ]]; then - $conf_file='./config/autoload/local.php' - if [ -f "$conf_file" ]; then - sed -i 's/https:\/\/objects.monarc.lu\/api\/v1\//https:\/\/objects.monarc.lu\/api\//g' "$conf_file" - echo "Done for $conf_file" - fi -fi