mirror of
https://github.com/9technologygroup/patchmon.net.git
synced 2025-10-23 07:42:05 +00:00
Add jq installation to essential tools
- Added jq to essential tools installation in both manage-patchmon.sh and manage-patchmon-dev.sh - jq is useful for JSON processing and API interactions - Updated installation check to include jq command availability - Enhanced status message to show all installed tools
This commit is contained in:
3056
manage-patchmon-dev.sh
Executable file
3056
manage-patchmon-dev.sh
Executable file
File diff suppressed because it is too large
Load Diff
@@ -228,10 +228,10 @@ update_system() {
|
||||
fi
|
||||
|
||||
# Install essential tools if not present
|
||||
if ! command -v curl >/dev/null 2>&1 || ! command -v nc >/dev/null 2>&1 || ! command -v git >/dev/null 2>&1; then
|
||||
if ! command -v curl >/dev/null 2>&1 || ! command -v nc >/dev/null 2>&1 || ! command -v git >/dev/null 2>&1 || ! command -v jq >/dev/null 2>&1; then
|
||||
echo -e "${BLUE}📦 Installing essential tools...${NC}"
|
||||
apt-get install -y curl netcat-openbsd git
|
||||
print_status "Essential tools installed"
|
||||
apt-get install -y curl netcat-openbsd git jq
|
||||
print_status "Essential tools installed (curl, netcat, git, jq)"
|
||||
fi
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user