remove config bak if it exists in DST_DIR

This commit is contained in:
Andrew Dolgov 2020-10-11 09:30:27 +03:00
parent 69bdf5c5df
commit 80a95f7b30
1 changed files with 3 additions and 0 deletions

View File

@ -89,6 +89,9 @@ else
-i $DST_DIR/config.php
fi
# this was previously generated
rm -f $DST_DIR/config.php.bak
cd $DST_DIR && sudo -u app php ./update.php --update-schema=force-yes
touch $DST_DIR/.app_is_ready