Fixed the script name.

pull/350/head
Ruslan Baidan 2021-04-23 11:20:41 +02:00
parent e54a66088b
commit 84883be187
No known key found for this signature in database
GPG Key ID: 4B7724C136BF1D89
1 changed files with 9 additions and 0 deletions

View File

@ -0,0 +1,9 @@
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