From 69bdf5c5df59689b7653bd62e3ad0d2b7f2cc908 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Sun, 11 Oct 2020 09:09:20 +0300 Subject: [PATCH] do not create backup config.php when rewriting SELF_URL_PATH --- app/startup.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/startup.sh b/app/startup.sh index 50ddb1f..b9d14b7 100755 --- a/app/startup.sh +++ b/app/startup.sh @@ -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