Remove Ushahidi database creation script from /tmp
This commit is contained in:
parent
7dd9adce0d
commit
2036f581ad
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user