Fixed the missing .database-initialized file

This commit is contained in:
Alexander Trost
2015-09-26 16:16:46 +02:00
parent 1910539fed
commit dd74be87bb

View File

@@ -1,5 +1,6 @@
#!/bin/bash
if [ -f "" ]; then
if [ ! -f "$ZULIP_DIR/.database-initialized" ]; then
su zulip -c "$ZULIP_DIR/deployments/current/scripts/setup/initialize-database"
su zulip -c "touch $ZULIP_DIR/.database-initialized"
fi