This file is indexed.

postinst is in linux-aws-cloud-tools-common 4.4.0-1013.22.

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
#!/bin/sh
set -e
# Automatically added by dh_installinit
if [ "$1" = "configure" ] || [ "$1" = "abort-upgrade" ]; then
	if [ -x "/etc/init.d/hv-kvp-daemon" ]; then
		update-rc.d hv-kvp-daemon defaults >/dev/null
	fi
	if [ -x "/etc/init.d/hv-kvp-daemon" ] || [ -e "/etc/init/hv-kvp-daemon.conf" ]; then
		invoke-rc.d hv-kvp-daemon start || exit $?
	fi
fi
# End automatically added section
# Automatically added by dh_installinit
if [ "$1" = "configure" ] || [ "$1" = "abort-upgrade" ]; then
	if [ -x "/etc/init.d/hv-vss-daemon" ]; then
		update-rc.d hv-vss-daemon defaults >/dev/null
	fi
	if [ -x "/etc/init.d/hv-vss-daemon" ] || [ -e "/etc/init/hv-vss-daemon.conf" ]; then
		invoke-rc.d hv-vss-daemon start || exit $?
	fi
fi
# End automatically added section
# Automatically added by dh_installinit
if [ "$1" = "configure" ] || [ "$1" = "abort-upgrade" ]; then
	if [ -x "/etc/init.d/hv-fcopy-daemon" ]; then
		update-rc.d hv-fcopy-daemon defaults >/dev/null
	fi
	if [ -x "/etc/init.d/hv-fcopy-daemon" ] || [ -e "/etc/init/hv-fcopy-daemon.conf" ]; then
		invoke-rc.d hv-fcopy-daemon start || exit $?
	fi
fi
# End automatically added section