Browse Source

detect if installed

135-scirius
Steven Foerster 5 years ago
parent
commit
a58bee261a
  1. 6
      scripts/env/suricata_init.sh

6
scripts/env/suricata_init.sh vendored

@ -2,6 +2,12 @@ @@ -2,6 +2,12 @@
set -e
# detect if suricata is installed
if [[ ! $(dpkg-query -W -f='${Status}' suricata 2>/dev/null | grep -c "ok installed") ]]; then
echo "Installed"
exit 0
else
source /opt/mistborn/scripts/subinstallers/platform.sh
# minimal dependencies

Loading…
Cancel
Save