Skip to content

Commit 2e108b2

Browse files
jaapmarcusKristan Kenney
authored andcommitted
Update health check with new vars
1 parent 0fe2480 commit 2e108b2

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

func/upgrade.sh

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,19 @@ upgrade_health_check() {
114114
echo "[ ! ] File Manager is enabled but not installed, repairing components..."
115115
$BIN/v-add-sys-filemanager quiet
116116
fi
117+
118+
# Support for ZSTD / GZIP Change
119+
if [ -z "$BACKUP_MODE" ]; then
120+
echo "[ ! ] Setting zstd backup compression type as default..."
121+
$BIN/v-change-sys-config-value "BACKUP_MODE" "zstd"
122+
fi
123+
124+
# Login style switcher
125+
if [ -z "$LOGIN_STYLE" ]; then
126+
echo "[ ! ] Adding missing variable to hestia.conf: LOGIN_STYLE ('default')"
127+
$BIN/v-change-sys-config-value "LOGIN_STYLE" "default"
128+
fi
129+
117130
echo "[ * ] Health check complete. Starting upgrade from $VERSION to $new_version..."
118131
echo "============================================================================="
119132
}

0 commit comments

Comments
 (0)