preinst is in cron 3.0pl1-128.1ubuntu1.
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
set -e
# /etc/init.d/cron symlink gets replaced with a real file on upgrade
if [ "$1" = upgrade ] && [ -L /etc/init.d/cron ]; then
echo "Removing obsolete /etc/init.d/cron symlink..."
rm /etc/init.d/cron
fi
# Automatically added by dh_installdeb/10.10.7ubuntu2
dpkg-maintscript-helper rm_conffile /etc/init/cron.conf 3.0pl1-128ubuntu5~ cron -- "$@"
# End automatically added section
|