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