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.
This commit is contained in:
CanbiZ 2025-09-16 11:51:18 +02:00
parent 8aa95f9549
commit 6e16aa01d6
2 changed files with 15 additions and 15 deletions

View File

@ -11,7 +11,7 @@ var_disk="${var_disk:-4}"
var_cpu="${var_cpu:-2}" var_cpu="${var_cpu:-2}"
var_ram="${var_ram:-2048}" var_ram="${var_ram:-2048}"
var_os="${var_os:-debian}" var_os="${var_os:-debian}"
var_version="${var_version:-12}" var_version="${var_version:-13}"
header_info "$APP" header_info "$APP"
variables variables
@ -19,18 +19,18 @@ color
init_error_traps init_error_traps
function update_script() { function update_script() {
header_info header_info
check_container_storage check_container_storage
check_container_resources check_container_resources
if [[ ! -f /usr/sbin/globaleaks ]]; then if [[ ! -f /usr/sbin/globaleaks ]]; then
msg_error "No ${APP} installation found!" msg_error "No ${APP} installation found!"
exit exit
fi fi
msg_info "Updating $APP LXC" msg_info "Updating $APP LXC"
$STD apt-get update $STD apt update
$STD apt-get -y upgrade $STD apt -y upgrade
msg_ok "Updated $APP LXC" msg_ok "Updated $APP LXC"
} }
start start

View File

@ -14,9 +14,9 @@ update_os
msg_info "Setup GlobaLeaks" msg_info "Setup GlobaLeaks"
curl -fsSL https://deb.globaleaks.org/globaleaks.asc | gpg --dearmor >/etc/apt/trusted.gpg.d/globaleaks.asc 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 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-get update $STD apt update
$STD apt-get -y install globaleaks $STD apt -y install globaleaks
msg_ok "Setup GlobaLeaks" msg_ok "Setup GlobaLeaks"
motd_ssh motd_ssh