From d38bc9cf4973895923d800828721b49437786705 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Bauer?= Date: Sat, 7 Jan 2017 17:07:45 +0100 Subject: [PATCH] switched from hardcoded zammad dir to env var --- install-zammad.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install-zammad.sh b/install-zammad.sh index c6f391c..79a90d8 100644 --- a/install-zammad.sh +++ b/install-zammad.sh @@ -13,4 +13,4 @@ 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 -chown -R zammad:zammad /home/zammad/ +chown -R zammad:zammad ${ZAMMAD_DIR}