This file is indexed.

preinst is in suricata 3.2.1-1+deb9u1.

This file is a maintainer script. It is executed when installing (*inst) or removing (*rm) the package.

The actual contents of the file can be viewed below.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
#!/bin/sh

# 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

# Automatically added by dh_installdeb
dpkg-maintscript-helper mv_conffile /etc/suricata/suricata-debian.yaml /etc/suricata/suricata.yaml 3.1-1 suricata -- "$@"
# End automatically added section


exit 0