Update containers/zammad/docker-entrypoint.sh

This commit is contained in:
André Bauer 2021-10-05 08:21:30 +02:00 committed by GitHub
parent 88f62a1271
commit e141025fed
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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