summaryrefslogtreecommitdiffstats
path: root/xz.pkg/postinst
diff options
context:
space:
mode:
authorP. J. McDermott <pj@pehjota.net>2014-05-08 15:23:32 (EDT)
committer P. J. McDermott <pj@pehjota.net>2014-05-08 15:23:32 (EDT)
commit7f9fa090a853bb39a5c2cdf20731aadb74437c32 (patch)
tree48b53faa27dd7a85a227ce21c128b11326a7d8cd /xz.pkg/postinst
parente90e725b6d32f1b67c29d2619996311fc17569f5 (diff)
xz: Manage /usr/bin/xz with update-alternatives.
Diffstat (limited to 'xz.pkg/postinst')
-rw-r--r--xz.pkg/postinst2
1 files changed, 1 insertions, 1 deletions
diff --git a/xz.pkg/postinst b/xz.pkg/postinst
index 5898f60..daf0a1c 100644
--- a/xz.pkg/postinst
+++ b/xz.pkg/postinst
@@ -1,7 +1,7 @@
#!/bin/sh
if [ "x${1}" = 'xconfigure' ]; then
- for link in unxz xzcat lzma unlzma lzcat; do
+ for link in xz unxz xzcat lzma unlzma lzcat; do
update-alternatives --install /usr/bin/${link} ${link} \
/usr/bin/${link}.tuk 20
done