Merge pull request #255 from zammad/develop/changes-for-zammad-5.1

Changes for Zammad 5.1
This commit is contained in:
Marcel Herrguth 2022-03-14 13:54:28 +01:00 committed by GitHub
commit 66bd5725a0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -26,7 +26,6 @@ if [ "$1" = 'builder' ]; then
cd "${ZAMMAD_TMP_DIR}" cd "${ZAMMAD_TMP_DIR}"
bundle config set without 'test development mysql' bundle config set without 'test development mysql'
bundle install bundle install
contrib/packager.io/fetch_locales.rb
sed -e 's#.*adapter: postgresql# adapter: nulldb#g' -e 's#.*username:.*# username: postgres#g' -e 's#.*password:.*# password: \n host: zammad-postgresql\n#g' < contrib/packager.io/database.yml.pkgr > config/database.yml sed -e 's#.*adapter: postgresql# adapter: nulldb#g' -e 's#.*username:.*# username: postgres#g' -e 's#.*password:.*# password: \n host: zammad-postgresql\n#g' < contrib/packager.io/database.yml.pkgr > config/database.yml
sed -i "/require 'rails\/all'/a require\ 'nulldb'" config/application.rb sed -i "/require 'rails\/all'/a require\ 'nulldb'" config/application.rb
sed -i 's/.*scheduler_\(err\|out\).log.*//g' script/scheduler.rb sed -i 's/.*scheduler_\(err\|out\).log.*//g' script/scheduler.rb