summaryrefslogtreecommitdiffstats
path: root/debian/xz-utils.prerm
blob: 8dd3d8f70298aa0d114a826eea3fc68696a48067 (plain)
1
2
3
4
5
6
7
8
9
10
#!/bin/sh
set -e
if
	test "$1" != upgrade ||
	# downgrading to a pre-alternatives version
	dpkg --compare-versions "$2" lt-nl 5.1.1alpha+20120614-1
then
	update-alternatives --remove lzma /usr/bin/xz
fi
#DEBHELPER#