Scripts: apt instead of apt-get, cleanup_lxc, nginx_enable_site, drop needless daemon-reloads (#17624)

This commit is contained in:
CanbiZ (MickLesk)
2026-10-01 08:14:33 +02:00
committed by GitHub
parent e773412791
commit 2497c18bee
59 changed files with 60 additions and 79 deletions
+1 -1
View File
@@ -30,7 +30,7 @@ setup_deb_based() {
if [[ -n "$socket" ]]; then
msg_info "Enabling Docker TCP socket on $socket"
$STD apt-get install -y jq
$STD apt install -y jq
tmpfile=$(mktemp)
jq --arg sock "$socket" '. + { "hosts": ["unix:///var/run/docker.sock", $sock] }' /etc/docker/daemon.json >"$tmpfile" && mv "$tmpfile" /etc/docker/daemon.json