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.
This commit is contained in:
MickLesk committed 2026-11-14 19:04:44 +01:00
1 parent 7d269d510e
commit 921fa1d058
2 files changed
-4

No files matched your search

-2
View File
@@ -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
-2
View File
@@ -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}"