From 587ffd2be865ad88934a76cca16e88b956e477eb Mon Sep 17 00:00:00 2001 From: Pulse Monitor Date: Sat, 30 Aug 2025 08:03:05 +0000 Subject: [PATCH] feat: install jq in containers for better JSON handling - Containers created by the script now get jq installed - Makes auto-update config more reliable - Keeps JSON properly formatted - Falls back gracefully if jq can't be installed - Only affects fresh installs in containers, not existing systems --- install.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/install.sh b/install.sh index 027026b54..15f5605d8 100755 --- a/install.sh +++ b/install.sh @@ -1019,7 +1019,11 @@ install_dependencies() { print_info "Installing dependencies..." apt-get update -qq >/dev/null 2>&1 - apt-get install -y -qq curl wget >/dev/null 2>&1 + # Install essential dependencies plus jq for reliable JSON handling + apt-get install -y -qq curl wget jq >/dev/null 2>&1 || { + # If jq fails to install, just install the essentials + apt-get install -y -qq curl wget >/dev/null 2>&1 + } } create_user() {