From 6e16aa01d62fe0ce9dc811bcc7255a2a2096a154 Mon Sep 17 00:00:00 2001 From: CanbiZ <47820557+MickLesk@users.noreply.github.com> Date: Tue, 16 Sep 2025 11:51:18 +0200 Subject: [PATCH] Update GlobaLeaks scripts for Debian 13 (trixie) support Changed default OS version from Debian 12 to 13 and updated the GlobaLeaks APT repository to use 'trixie' instead of 'bookworm'. Also switched apt-get commands to apt for consistency and modern usage. --- ct/globaleaks.sh | 24 ++++++++++++------------ install/globaleaks-install.sh | 6 +++--- 2 files changed, 15 insertions(+), 15 deletions(-) diff --git a/ct/globaleaks.sh b/ct/globaleaks.sh index 16e60b1a..3e1abc89 100644 --- a/ct/globaleaks.sh +++ b/ct/globaleaks.sh @@ -11,7 +11,7 @@ var_disk="${var_disk:-4}" var_cpu="${var_cpu:-2}" var_ram="${var_ram:-2048}" var_os="${var_os:-debian}" -var_version="${var_version:-12}" +var_version="${var_version:-13}" header_info "$APP" variables @@ -19,18 +19,18 @@ color init_error_traps function update_script() { - header_info - check_container_storage - check_container_resources - if [[ ! -f /usr/sbin/globaleaks ]]; then - msg_error "No ${APP} installation found!" - exit - fi + header_info + check_container_storage + check_container_resources + if [[ ! -f /usr/sbin/globaleaks ]]; then + msg_error "No ${APP} installation found!" + exit + fi - msg_info "Updating $APP LXC" - $STD apt-get update - $STD apt-get -y upgrade - msg_ok "Updated $APP LXC" + msg_info "Updating $APP LXC" + $STD apt update + $STD apt -y upgrade + msg_ok "Updated $APP LXC" } start diff --git a/install/globaleaks-install.sh b/install/globaleaks-install.sh index 173899a9..f97263ee 100644 --- a/install/globaleaks-install.sh +++ b/install/globaleaks-install.sh @@ -14,9 +14,9 @@ update_os msg_info "Setup GlobaLeaks" curl -fsSL https://deb.globaleaks.org/globaleaks.asc | gpg --dearmor >/etc/apt/trusted.gpg.d/globaleaks.asc -echo "deb [signed-by=/etc/apt/trusted.gpg.d/globaleaks.asc] http://deb.globaleaks.org bookworm main" >/etc/apt/sources.list.d/globaleaks.list -$STD apt-get update -$STD apt-get -y install globaleaks +echo "deb [signed-by=/etc/apt/trusted.gpg.d/globaleaks.asc] http://deb.globaleaks.org trixie main" >/etc/apt/sources.list.d/globaleaks.list +$STD apt update +$STD apt -y install globaleaks msg_ok "Setup GlobaLeaks" motd_ssh