summaryrefslogtreecommitdiffstats
path: root/xz.pkg/postinst
blob: 5898f6088ea5d69ef4c93f526512a6e780af9cbd (plain)
1
2
3
4
5
6
7
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