Hotfix for moved database.yml.pkgr file

This commit is contained in:
Ryan Lue 2018-05-08 18:27:05 +08:00
parent 297d9bb044
commit 1960136b5e

View file

@ -180,7 +180,7 @@ function update_database_yml () {
sed -e "s/.*adapter:.*/ adapter: ${ADAPTER}/" \
-e "s/.*username:.*/ username: ${DB_USER}/" \
-e "s/.*password:.*/ password: ${DB_PASS}/" \
-e "s/.*database:.*/ database: ${DB}/" < ${ZAMMAD_DIR}/config/database.yml.pkgr > ${ZAMMAD_DIR}/config/database.yml
-e "s/.*database:.*/ database: ${DB}/" < ${ZAMMAD_DIR}/contrib/database.yml.pkgr > ${ZAMMAD_DIR}/config/database.yml
}
function initialise_database () {