This file is indexed.

postinst is in samba-common-bin 2:4.1.6+dfsg-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
#!/bin/sh

set -e 

if dpkg --compare-versions "$2" lt-nl 2:4.0.12+dfsg-2~; then
	for alternative in nmblookup net testparm; do
		if update-alternatives --list $alternative >/dev/null 2>&1
		then
			update-alternatives --remove-all $alternative
		fi
	done
fi



exit 0