Update ha_automatic_packages.sh

This commit is contained in:
Alexandre
2023-10-03 23:11:03 +02:00
committed by GitHub
parent 96ffe85422
commit ebd42387e9

View File

@@ -80,7 +80,7 @@ for files in "/etc/cont-init.d" "/etc/services.d"; do
COMMAND="nmap"
if grep -q -rnw "$files/" -e "$COMMAND"; then
[ "$VERBOSE" = true ] && echo "$COMMAND required"
[ "$PACKMANAGER" = "apk" ] && PACKAGES="$PACKAGES nmap nmap-scripts
[ "$PACKMANAGER" = "apk" ] && PACKAGES="$PACKAGES nmap nmap-scripts"
[ "$PACKMANAGER" = "apt" ] && PACKAGES="$PACKAGES nmap"
#[ "$PACKMANAGER" = "pacman" ] && PACKAGES="$PACKAGES iputils"
fi