preinst is in telnetd-ssl 0.17.24+0.1-23build1.
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 | #!/bin/sh
set -e
dpkg-divert --quiet --package ssltelnet --remove --rename \
--divert /usr/sbin/in.telnetd.nossl /usr/sbin/in.telnetd
dpkg-divert --quiet --package ssltelnet --remove --rename \
--divert /usr/man/man8/telnetd.nossl.8.gz /usr/man/man8/telnetd.8.gz
dpkg-divert --quiet --package ssltelnet --remove --rename \
--divert /usr/man/man8/in.telnetd.nossl.8.gz /usr/man/man8/in.telnetd.8.gz
|