diff --git a/install-zammad.sh b/install-zammad.sh index a29dd8d..ed3c3cc 100644 --- a/install-zammad.sh +++ b/install-zammad.sh @@ -15,4 +15,5 @@ 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: postgresql\n#g' < config/database.yml.pkgr > config/database.yml bundle exec rake assets:precompile sed -e 's#.*adapter: postgresql# adapter: postgresql#g' -e 's#.*username:.*# username: postgres#g' -e 's#.*password:.*# password: \n host: postgresql\n#g' < config/database.yml.pkgr > config/database.yml +rm -r tmp/cache chown -R zammad:zammad "${ZAMMAD_DIR}"