diff --git a/tools/server-update.sh b/tools/server-update.sh index ad569ee..f3d11ed 100755 --- a/tools/server-update.sh +++ b/tools/server-update.sh @@ -13,13 +13,16 @@ fi git pull -skelsum=$(find skel | sha256sum) -if ! [ "$(cat /etc/ixvd/skel-sum.txt)" = "$skelsum" ]; then - echo "WARNING: IXVD SERVER SKELETON CHANGED!" - echo "WARNING: Manual intervention is required." - exit 1 +if ! [ "${SKIP_SETUP:-no}" = "yes" ]; then + skelsum=$(find skel | sha256sum) + if ! [ "$(cat /etc/ixvd/skel-sum.txt)" = "$skelsum" ]; then + echo "WARNING: IXVD SERVER SKELETON CHANGED!" + echo "WARNING: Manual intervention is required." + exit 1 + fi + + + ./tools/server-setup.sh fi - -./tools/server-setup.sh ./tools/server-docker-compose.sh build --pull ./tools/server-docker-compose.sh pull \ No newline at end of file