summaryrefslogtreecommitdiffstats
path: root/debian/xz-utils.prerm
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-27 21:12:05 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-27 21:12:05 +0000
commit8f50ad90d48b537c93151485b23dd37f6b97f01a (patch)
tree2d3be7c349941d9fab1931dedbff19e4dd5344df /debian/xz-utils.prerm
parentAdding upstream version 5.4.1. (diff)
downloadxz-utils-51c40b3659838828a7607e7e3b980a01116b95d9.tar.xz
xz-utils-51c40b3659838828a7607e7e3b980a01116b95d9.zip
Adding debian version 5.4.1-0.2.debian/5.4.1-0.2debian
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'debian/xz-utils.prerm')
-rw-r--r--debian/xz-utils.prerm10
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#