This file is indexed.

preinst is in walinuxagent 2.2.32-0ubuntu1~14.04.2.

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
#!/bin/sh
set -e
# Automatically added by dh_installinit
if [ "$1" = install ] || [ "$1" = upgrade ]; then
	if [ -e "/etc/init.d/walinuxagent" ] && [ -L "/etc/init.d/walinuxagent" ] \
	   && [ $(readlink -f "/etc/init.d/walinuxagent") = /lib/init/upstart-job ]
	then
		rm -f "/etc/init.d/walinuxagent"
	fi
fi
# End automatically added section
# Automatically added by dh_installdeb
dpkg-maintscript-helper mv_conffile /etc/logrotate.d/waagent /etc/logrotate.d/waagent.logrotate 2.2.6~ -- "$@"
# End automatically added section
# Automatically added by dh_installdeb
dpkg-maintscript-helper rm_conffile /etc/cloud/cloud.cfg.d/91_walinuxagent.cfg 2.2.21+really2.2.20-0ubuntu1 -- "$@"
# End automatically added section