preinst is in solid-pop3d 0.15-26.
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
# pre-installation script for Solid POP3
set -e
if [ "X$1" = "Xupgrade" ] ; then
if [ -d /var/state/solid-pop3d ] && [ ! -e /var/lib/solid-pop3d ] ; then
mv /var/state/solid-pop3d /var/lib/solid-pop3d
chmod 755 /var/lib/solid-pop3d
chown root:root /var/lib/solid-pop3d
fi
fi
|