diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-19 17:39:52 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-19 17:39:52 +0000 |
commit | a95cd20bb8e569c5a5f43808555e90ea436b858f (patch) | |
tree | 7fb27265ca110c329d4d42336c979cab09fff04e /debian/suricata.preinst | |
parent | Adding upstream version 1:7.0.3. (diff) | |
download | suricata-a95cd20bb8e569c5a5f43808555e90ea436b858f.tar.xz suricata-a95cd20bb8e569c5a5f43808555e90ea436b858f.zip |
Adding debian version 1:7.0.3-1.debian/1%7.0.3-1
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'debian/suricata.preinst')
-rw-r--r-- | debian/suricata.preinst | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/debian/suricata.preinst b/debian/suricata.preinst new file mode 100644 index 0000000..50f7117 --- /dev/null +++ b/debian/suricata.preinst @@ -0,0 +1,13 @@ +#!/bin/sh + +set -e + +# we do not need alternatives anymore +if update-alternatives --quiet --query suricata 2> /dev/null; then + echo "Removing legacy alternatives for Hyperscan/non-Hyperscan versions" + update-alternatives --remove-all suricata +fi + +#DEBHELPER# + +exit 0 |