From 921fa1d058e8335f8a69a23f5e7064376cadb784 Mon Sep 17 00:00:00 2001 From: MickLesk <47820557+MickLesk@users.noreply.github.com> Date: Sat, 14 Nov 2026 19:04:44 +0100 Subject: [PATCH] GoatCounter: let the singlefile download unpack the binary core unpacks a compressed single binary since #248; the manual gunzip then failed on install and update. --- ct/goatcounter.sh | 2 -- install/goatcounter-install.sh | 2 -- 2 files changed, 4 deletions(-) diff --git a/ct/goatcounter.sh b/ct/goatcounter.sh index 6fa6c82c25f..08965cc4d95 100644 --- a/ct/goatcounter.sh +++ b/ct/goatcounter.sh @@ -41,8 +41,6 @@ function update_script() { msg_ok "Stopped GoatCounter" fetch_and_deploy_gh_release "goatcounter" "arp242/goatcounter" "singlefile" "latest" "/opt/goatcounter" "goatcounter-v*-linux-$(arch_resolve).gz" - mv /opt/goatcounter/goatcounter /opt/goatcounter/goatcounter.gz - gunzip -f /opt/goatcounter/goatcounter.gz msg_info "Starting GoatCounter" systemctl start goatcounter diff --git a/install/goatcounter-install.sh b/install/goatcounter-install.sh index e5855e6ab57..fb45f2acfa1 100644 --- a/install/goatcounter-install.sh +++ b/install/goatcounter-install.sh @@ -14,8 +14,6 @@ network_check update_os fetch_and_deploy_gh_release "goatcounter" "arp242/goatcounter" "singlefile" "latest" "/opt/goatcounter" "goatcounter-v*-linux-$(arch_resolve).gz" -mv /opt/goatcounter/goatcounter /opt/goatcounter/goatcounter.gz -gunzip -f /opt/goatcounter/goatcounter.gz msg_info "Configuring GoatCounter" ADMIN_EMAIL="${var_admin_email:-admin@goatcounter.local}"