This file is indexed.

postinst is in linux-cloud-tools-common 3.13.0-116.163.

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
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
#!/bin/sh
set -e
# Automatically added by dh_installinit
if [ -x "/etc/init.d/hv-kvp-daemon" ] || [ -e "/etc/init/hv-kvp-daemon.conf" ]; then
	if [ ! -e "/etc/init/hv-kvp-daemon.conf" ]; then
		update-rc.d hv-kvp-daemon defaults >/dev/null
	fi
	invoke-rc.d hv-kvp-daemon start || exit $?
fi
# End automatically added section
# Automatically added by dh_installinit
update-rc.d -f hv-kvp-daemon remove >/dev/null || exit $?
# End automatically added section
# Automatically added by dh_installinit
if [ -x "/etc/init.d/hv-vss-daemon" ] || [ -e "/etc/init/hv-vss-daemon.conf" ]; then
	if [ ! -e "/etc/init/hv-vss-daemon.conf" ]; then
		update-rc.d hv-vss-daemon defaults >/dev/null
	fi
	invoke-rc.d hv-vss-daemon start || exit $?
fi
# End automatically added section
# Automatically added by dh_installinit
update-rc.d -f hv-vss-daemon remove >/dev/null || exit $?
# End automatically added section
# Automatically added by dh_installinit
if [ -x "/etc/init.d/hv-fcopy-daemon" ] || [ -e "/etc/init/hv-fcopy-daemon.conf" ]; then
	if [ ! -e "/etc/init/hv-fcopy-daemon.conf" ]; then
		update-rc.d hv-fcopy-daemon defaults >/dev/null
	fi
	invoke-rc.d hv-fcopy-daemon start || exit $?
fi
# End automatically added section
# Automatically added by dh_installinit
update-rc.d -f hv-fcopy-daemon remove >/dev/null || exit $?
# End automatically added section