From 6d79b38358ee70689da1de35f67ed4292b0c6281 Mon Sep 17 00:00:00 2001 From: Raine Date: Wed, 6 Dec 2023 21:58:20 +0100 Subject: [PATCH] fix: update server-update to allow f- it updates --- tools/server-update.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/server-update.sh b/tools/server-update.sh index ab4aa2f..1684ad0 100755 --- a/tools/server-update.sh +++ b/tools/server-update.sh @@ -13,7 +13,7 @@ fi git pull -if ! [ "$(cat ./skel/etc/ixvd/version)" = "$(cat /etc/ixvd/version)" ]; then +[ -f "/etc/ixvd/version" ] && if ! [ "$(cat ./skel/etc/ixvd/version)" = "$(cat /etc/ixvd/version)" ]; then echo "WARNING: IXVD SKELETON VERSION CHANGED!" echo "WARNING: Manual intervention is required." exit 1