changed cd /home cmd

This commit is contained in:
André Bauer 2017-01-10 11:53:24 +01:00
parent 1403d48b8c
commit 2a2d3661b1

View File

@ -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