From 2a2d3661b13c4de67453d67fe920cb2428c95594 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Bauer?= Date: Tue, 10 Jan 2017 11:53:24 +0100 Subject: [PATCH] changed cd /home cmd --- install-zammad.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/install-zammad.sh b/install-zammad.sh index 3d76c4f..0556988 100644 --- a/install-zammad.sh +++ b/install-zammad.sh @@ -5,10 +5,10 @@ set -e echo "installing zammad..." # crreate zammad user -useradd -M -d /home/zammad -s /bin/bash zammad +useradd -M -d "${ZAMMAD_DIR}" -s /bin/bash zammad # # git clone zammad -cd /home +cd $(dirname ${ZAMMAD_DIR}) git clone --depth 1 -b "${GIT_BRANCH}" "${GIT_URL}" # install zammad