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

if [ "x${1}" = 'xconfigure' ]; then
	for link in bzip2 bunzip2 bzcat; do
		update-alternatives --install /usr/bin/${link} ${link} \
			/usr/bin/${link}.bzip2 20
	done
fi