MonarcAppFO/scripts/update_config_variables.sh

8 lines
189 B
Bash
Raw Normal View History

#!/bin/bash
conf_file='./config/autoload/local.php'
if [ -f "$conf_file" ]; then
sed -E -i "s/'mospApiUrl' => (.*)\/v1/'mospApiUrl' => \1/g" "$conf_file"
echo "Done for $conf_file"
2021-04-23 11:20:41 +02:00
fi