Remove Ushahidi database creation script from /tmp

This commit is contained in:
Disassembler 2017-12-04 17:55:38 +01:00
parent 7dd9adce0d
commit 2036f581ad

View File

@ -16,6 +16,7 @@ rm -rf /tmp/ushahidi-platform-release-v3.7.1
export USHAHIDI_PWD=$(head -c 18 /dev/urandom | base64) export USHAHIDI_PWD=$(head -c 18 /dev/urandom | base64)
envsubst <${SOURCE_DIR}/tmp/ushahidi-createdb.sql >/tmp/ushahidi-createdb.sql envsubst <${SOURCE_DIR}/tmp/ushahidi-createdb.sql >/tmp/ushahidi-createdb.sql
mysql </tmp/ushahidi-createdb.sql mysql </tmp/ushahidi-createdb.sql
rm -f /tmp/ushahidi-createdb.sql
# Configure Ushahidi # Configure Ushahidi
envsubst <${SOURCE_DIR}/srv/ushahidi/platform/.env >/srv/ushahidi/platform/.env envsubst <${SOURCE_DIR}/srv/ushahidi/platform/.env >/srv/ushahidi/platform/.env