summaryrefslogtreecommitdiff
path: root/debian/samba-common-bin.postinst
blob: 7b8c3becf633efc04ffb9a02565d8e61d2189cab (plain)
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

#DEBHELPER#

exit 0