This file is indexed.

postinst is in kdm-gdmcompat 0.13-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
18
19
20
21
22
23
24
25
26
27
28
29
#!/bin/bash
# kdmflexiserver package post-installation script
#
# Copyright (C) 2009 Fabian Knittel
# Licensed under the GNU General Public License; either version 2 of the
# license, or (at your option) any later version.  See the file
# /usr/share/common-licenses/GPL-2 or <http://www.gnu.org/licences/gpl-2.0.txt>.

set -e

if [ "$1" = "configure" ]; then
	# The old divert might still be lying around.  Attempt to remove it.
	RET=$(dpkg-divert --list /usr/share/man/man8/gdmflexiserver.8.gz)
	if [ ! -z "$RET" ]; then
	        dpkg-divert --rename --package kdm-gdmcompat --remove \
			/usr/share/man/man8/gdmflexiserver.8.gz
	fi
fi

# Automatically added by dh_installinit
if [ -x "/etc/init.d/kdm-gdmcompat" ]; then
	update-rc.d kdm-gdmcompat defaults 21 01 >/dev/null
	if [ -x "`which invoke-rc.d 2>/dev/null`" ]; then
		invoke-rc.d kdm-gdmcompat start || exit $?
	else
		/etc/init.d/kdm-gdmcompat start || exit $?
	fi
fi
# End automatically added section