summaryrefslogtreecommitdiffstats
path: root/xz.pkg/postinst
blob: daf0a1c03877d4baadf8028232715762599293cd (plain)
1
2
3
4
5
6
7
8
#!/bin/sh

if [ "x${1}" = 'xconfigure' ]; then
	for link in xz unxz xzcat lzma unlzma lzcat; do
		update-alternatives --install /usr/bin/${link} ${link} \
			/usr/bin/${link}.tuk 20
	done
fi