This file is indexed.

postrm is in cntlm 0.92.3-1ubuntu2.

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
#
# Postrm script for cntlm
#

set -e

NAME=cntlm

if [ "$1" = "purge" ]; then
	#if [ -e /usr/share/debconf/confmodule ]; then
	#	. /usr/share/debconf/confmodule
	#	db_purge
	#fi

	# Remove SysV initscript
	#update-rc.d $NAME remove >/dev/null || true

	# Remove user cntlm
	home=`getent passwd $NAME | cut -d : -f 6`
	rm -f "$home/$NAME.pid" >/dev/null 2>&1 || true
	userdel $NAME || true
	rmdir "$home" >/dev/null 2>&1 || true
fi



# Automatically added by dh_installinit
if [ "$1" = "purge" ] ; then
	update-rc.d cntlm remove >/dev/null || exit $?
fi
# End automatically added section