summaryrefslogtreecommitdiffstats
path: root/xz.pkg/postinst
diff options
context:
space:
mode:
Diffstat (limited to 'xz.pkg/postinst')
-rw-r--r--xz.pkg/postinst8
1 files changed, 8 insertions, 0 deletions
diff --git a/xz.pkg/postinst b/xz.pkg/postinst
new file mode 100644
index 0000000..5898f60
--- /dev/null
+++ b/xz.pkg/postinst
@@ -0,0 +1,8 @@
+#!/bin/sh
+
+if [ "x${1}" = 'xconfigure' ]; then
+ for link in unxz xzcat lzma unlzma lzcat; do
+ update-alternatives --install /usr/bin/${link} ${link} \
+ /usr/bin/${link}.tuk 20
+ done
+fi