feat: update-n-up.sh

This commit is contained in:
Strix 2024-01-04 19:41:41 +01:00
parent d9b8cdbdbb
commit 35941d7545
No known key found for this signature in database
GPG key ID: 5F35B3B8537287A7

View file

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