This file is indexed.

preinst is in cron 3.0pl1-120ubuntu3.

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
15
16
17
18
19
20
#!/bin/sh
set -e

# Conffile has become obsolete
dpkg-maintscript-helper rm_conffile /etc/cron.monthly/standard "3.0pl1-113" -- "$@"

# Automatically added by dh_installinit
if [ "$1" = install ] || [ "$1" = upgrade ]; then
	if [ -e "/etc/init.d/cron" ] && [ ! -L "/etc/init.d/cron" ]; then
		if [ "`md5sum \"/etc/init.d/cron\" | sed -e \"s/ .*//\"`" != \
		     "`dpkg-query -W -f='${Conffiles}' cron | sed -n -e \"\\\\' /etc/init.d/cron '{s/ obsolete$//;s/.* //p}\"`" ]
		then
			echo "Obsolete conffile /etc/init.d/cron has been modified by you, renaming to .dpkg-bak"
			mv -f "/etc/init.d/cron" "/etc/init.d/cron.dpkg-bak"
		else
			rm -f "/etc/init.d/cron"
		fi
	fi
fi
# End automatically added section