touch sqlite file if it does not exist

This commit is contained in:
ShareLaTeX 2016-06-23 22:07:30 +00:00
parent 11fd4bd479
commit 3d116334e0

View file

@ -20,5 +20,8 @@ chown www-data:www-data /var/lib/sharelatex/tmp/uploads
mkdir -p /var/lib/sharelatex/tmp/dumpFolder
chown www-data:www-data /var/lib/sharelatex/tmp/dumpFolder
if [ ! -e "/var/lib/sharelatex/data/db.sqlite" ]; then
touch /var/lib/sharelatex/data/db.sqlite
fi
chown www-data:www-data /var/lib/sharelatex/data/db.sqlite