This file is indexed.

postinst is in ekeyd-egd-linux 1.1.5-6.1.

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
#!/bin/sh -e

# Those using dependency based boot sequencing with sysv-rc and installing
# ekeyd-egd-linux before and including version 1.0.4-1 would have wrong
# runlevel symlinks.  Recover from this.
if [ "$1" = "configure" ] && dpkg --compare-versions "$2" le "1.0.4-1" \
   && [ -f /etc/rcS.d/S[0-9][0-9]ekeyd-egd-linux ] ; then
   update-rc.d -f ekeyd-egd-linux remove
fi

# Automatically added by dh_installinit
if [ -x "/etc/init.d/ekeyd-egd-linux" ]; then
	update-rc.d ekeyd-egd-linux defaults >/dev/null
fi
if [ -x "/etc/init.d/ekeyd-egd-linux" ] || [ -e "/etc/init/ekeyd-egd-linux.conf" ]; then
	invoke-rc.d ekeyd-egd-linux start || exit $?
fi
# End automatically added section