Add version pin to check_for_gh_release in Memos CT

Prevents the update check from looking for versions newer than v0.25.3
This commit is contained in:
MickLesk
2026-02-07 18:14:37 +01:00
parent 4599b92121
commit df24536bcb

View File

@@ -27,7 +27,7 @@ function update_script() {
msg_error "No ${APP} Installation Found!"
exit
fi
if check_for_gh_release "memos" "usememos/memos"; then
if check_for_gh_release "memos" "usememos/memos" "v0.25.3"; then
msg_info "Stopping service"
systemctl stop memos
msg_ok "Service stopped"