mirror of
https://github.com/rcourtman/Pulse.git
synced 2026-09-22 03:04:03 +00:00
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
This commit is contained in:
+5
-1
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user