From 6888a87abd8a10e232fe15a33f7389dc6423571e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Bauer?= Date: Sun, 24 Dec 2017 16:13:25 +0100 Subject: [PATCH] added test -f again --- containers/zammad/docker-entrypoint.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/containers/zammad/docker-entrypoint.sh b/containers/zammad/docker-entrypoint.sh index 5fbadda..d49926b 100644 --- a/containers/zammad/docker-entrypoint.sh +++ b/containers/zammad/docker-entrypoint.sh @@ -22,7 +22,7 @@ function check_zammad_ready { # zammad init if [ "$1" = 'zammad-init' ]; then # install / update zammad - rm ${ZAMMAD_READY_FILE} + test -f ${ZAMMAD_READY_FILE} && rm ${ZAMMAD_READY_FILE} rsync -a --delete --exclude 'storage/fs/*' --exclude 'public/assets/images/*' ${ZAMMAD_TMP_DIR}/ ${ZAMMAD_DIR} rsync -a ${ZAMMAD_TMP_DIR}/public/assets/images/ ${ZAMMAD_DIR}/public/assets/images