preinst is in ftpd 0.17-35.
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 | #!/bin/sh
# $Id: preinst,v 1.1 1999/10/07 12:48:39 herbert Exp $
set -e
# Rename old PAM conffile.
if [ -n "$2" ] && dpkg --compare-versions "$2" lt 0.11-5; then
cd /etc/pam.d
if [ -f ftpd -a ! -f ftp ]; then
cp -p ftpd ftp
fi
fi
|