summaryrefslogtreecommitdiffstats
path: root/e2fsprogs.pkg/prerm
blob: becf74c859fd0b93c5f2e2a400185596ae94413f (plain)
1
2
3
4
5
6
7
8
#!/bin/sh

if [ x"${1}" = x'remove' ] || [ x"${1}" = x'purge' ] || [ x"${1}" = x'upgrade' ]
then
	while read link; do
		update-alternatives --remove "${link##*/}" "${link}.e2p"
	done </usr/share/e2fsprogs/alternatives
fi