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