preinst is in dante-client 1.1.19.dfsg-3ubuntu11.
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 | #!/bin/sh
set -e
# copy across old configuration before rename
if [ "$1" = "upgrade" ] && [ "$2" = "0.92.0-pre3-2" ] ; then
cp /etc/socks.conf /etc/dante.conf
fi
|