chg: [config] selects the value of the configuration to change.
parent
3203a4d24f
commit
928cf04cb2
|
@ -2,6 +2,6 @@
|
|||
|
||||
conf_file='./config/autoload/local.php'
|
||||
if [ -f "$conf_file" ]; then
|
||||
sed -E -i "s/(.*) => (.*)\/v1/\1 => \2/g" "$conf_file"
|
||||
sed -E -i "s/'mospApiUrl' => (.*)\/v1/'mospApiUrl' => \1/g" "$conf_file"
|
||||
echo "Done for $conf_file"
|
||||
fi
|
||||
|
|
Loading…
Reference in New Issue