chg: [config] selects the value of the configuration to change.

phpword_v0.18.1
Cédric Bonhomme 2021-05-06 15:14:30 +02:00
parent 3203a4d24f
commit 928cf04cb2
No known key found for this signature in database
GPG Key ID: A1CB94DE57B7A70D
1 changed files with 1 additions and 1 deletions

View File

@ -2,6 +2,6 @@
conf_file='./config/autoload/local.php' conf_file='./config/autoload/local.php'
if [ -f "$conf_file" ]; then 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" echo "Done for $conf_file"
fi fi