From 4f18d5c1c412ae6ae9ee61cc3159d914892a1e23 Mon Sep 17 00:00:00 2001 From: Tobias <96661824+CrazyWolf13@users.noreply.github.com> Date: Thu, 3 Jul 2025 11:20:39 +0200 Subject: [PATCH] Update vikunja.sh --- ct/vikunja.sh | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/ct/vikunja.sh b/ct/vikunja.sh index 621a470b..0b547f03 100644 --- a/ct/vikunja.sh +++ b/ct/vikunja.sh @@ -27,17 +27,18 @@ function update_script() { msg_error "No ${APP} Installation Found!" exit fi - + + msg_info "Selecting version" if whiptail --backtitle "Vikunja Update" --title "🔄 VERSION SELECTION" --yesno \ "Choose the version type to update to:\n\n• STABLE: Recommended for production use\n• UNSTABLE: Latest development version\n\n⚠️ WARNING: Unstable versions may contain bugs,\nbe incomplete, or cause system instability.\nOnly use for testing purposes.\n\nDo you want to use the UNSTABLE version?\n(No = Stable, Yes = Unstable)" 16 70 --defaultno then RELEASE="unstable" FILENAME="vikunja-${RELEASE}-x86_64.deb" - msg_info "Selected UNSTABLE version" + msg_ok "Selected UNSTABLE version" else RELEASE=$(curl -fsSL https://dl.vikunja.io/vikunja/ | grep -oP 'href="/vikunja/\K[0-9]+\.[0-9]+\.[0-9]+' | sort -V | tail -n 1) FILENAME="vikunja-${RELEASE}-amd64.deb" - msg_info "Selected STABLE version: ${RELEASE}" + msg_ok "Selected STABLE version: ${RELEASE}" fi if [[ ! -f /opt/${APP}_version.txt ]] || [[ "${RELEASE}" != "$(cat /opt/${APP}_version.txt)" ]]; then