do not create backup config.php when rewriting SELF_URL_PATH

This commit is contained in:
Andrew Dolgov 2020-10-11 09:09:20 +03:00
parent 2505ad8a8a
commit 69bdf5c5df
1 changed files with 1 additions and 1 deletions

View File

@ -86,7 +86,7 @@ EOF
else
sed \
-e "s/define('SELF_URL_PATH'.*/define('SELF_URL_PATH','$SELF_URL_PATH');/" \
-i.bak $DST_DIR/config.php
-i $DST_DIR/config.php
fi
cd $DST_DIR && sudo -u app php ./update.php --update-schema=force-yes