diff options
author | bogdanvlviv <bogdanvlviv@gmail.com> | 2017-03-27 00:53:36 +0300 |
---|---|---|
committer | bogdanvlviv <bogdanvlviv@gmail.com> | 2017-10-17 21:15:19 +0300 |
commit | c17570d3b36452e47229d4fa282af75ecc08b690 (patch) | |
tree | 598bbbac27d399daa44983d00163e723f78081a1 /scripts | |
parent | 209e656e43d905094f6db3f9ef206649f3cd7ea2 (diff) | |
download | gitlab-ce-c17570d3b36452e47229d4fa282af75ecc08b690.tar.gz |
Update scripts/prepare_build.sh
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/prepare_build.sh | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/scripts/prepare_build.sh b/scripts/prepare_build.sh index 39806901274..7abadef5e89 100644 --- a/scripts/prepare_build.sh +++ b/scripts/prepare_build.sh @@ -27,11 +27,9 @@ fi cp config/database.yml.$GITLAB_DATABASE config/database.yml if [ "$GITLAB_DATABASE" = 'postgresql' ]; then - sed -i 's/# host:.*/host: postgres/g' config/database.yml + sed -i 's/localhost/postgres/g' config/database.yml else # Assume it's mysql - sed -i 's/username:.*/username: root/g' config/database.yml - sed -i 's/password:.*/password:/g' config/database.yml - sed -i 's/# host:.*/host: mysql/g' config/database.yml + sed -i 's/localhost/mysql/g' config/database.yml fi cp config/resque.yml.example config/resque.yml |