diff options
Diffstat (limited to '')
-rw-r--r-- | debian/xz-utils.prerm | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/debian/xz-utils.prerm b/debian/xz-utils.prerm new file mode 100644 index 0000000..8dd3d8f --- /dev/null +++ b/debian/xz-utils.prerm @@ -0,0 +1,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# |