Commit 3c46fbf2 authored by ShareLaTeX's avatar ShareLaTeX

touch sqlite file if it does not exist

parent 4a66b59c
......@@ -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
\ No newline at end of file
chown www-data:www-data /var/lib/sharelatex/data/db.sqlite
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment