From b617f0fab2b0c3fa6ea0622117185ac57461c551 Mon Sep 17 00:00:00 2001 From: Alexander Trost Date: Mon, 19 Oct 2015 17:22:22 +0200 Subject: [PATCH] Remove all .zulip-* files before creating the new version file --- entrypoint.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/entrypoint.sh b/entrypoint.sh index 42607c6..2766e09 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -304,6 +304,7 @@ if [ ! -e "$DATA_DIR/.zulip-$ZULIP_VERSION" ]; then echo "Zulip migration error." exit 1 fi + rm -rf "$DATA_DIR/.zulip-*" touch "$DATA_DIR/.zulip-$ZULIP_VERSION" echo "Zulip migration done." fi