Update containers/zammad/docker-entrypoint.sh

This commit is contained in:
André Bauer 2021-10-05 09:19:39 +02:00 committed by GitHub
parent e141025fed
commit 392911f7b5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -76,7 +76,7 @@ if [ "$1" = 'zammad-init' ]; then
# create autowizard.json on first install
if base64 -d <<< ${AUTOWIZARD_JSON} &>> /dev/null; then
echo "Saving autowizard json payload..."
echo "${AUTOWIZARD_JSON}" | base64 -d > auto_wizard.json
base64 -d <<< "${AUTOWIZARD_JSON}" > auto_wizard.json
fi
else
bundle exec rake db:migrate