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

if [ x"${1}" = x'configure' ]; then
	while read link; do
		update-alternatives --install "${link}" "${link##*/}" \
			"${link}.e2p" 30
	done </usr/share/badblocks/alternatives
fi