preinst is in dante-server 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/sockd.conf /etc/danted.conf
fi
|