fix: update server-update to allow f- it updates

This commit is contained in:
Strix 2023-12-06 21:58:20 +01:00
parent 64c7d76fac
commit 6d79b38358
No known key found for this signature in database
GPG key ID: 5F35B3B8537287A7

View file

@ -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