This file is indexed.

preinst is in denyhosts 2.10-2.

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
# preinst script for denyhosts

set -e

if dpkg --compare-versions "$2" lt 2.6-6.1 && [ -e /var/lib/dpkg/info/denyhosts.postrm ]
then
	sed -e 's#rm -f /etc/logrotate.d/denyhosts##g' < /var/lib/dpkg/info/denyhosts.postrm > /var/lib/dpkg/info/denyhosts.postrm.changed && \
	mv -f /var/lib/dpkg/info/denyhosts.postrm.changed /var/lib/dpkg/info/denyhosts.postrm
fi



exit 0