summaryrefslogtreecommitdiffstats
path: root/debian/templates/postinst.usrmovemitigation.in
blob: 6009febfd2f7c0a6143433cddfba0eec819e2fcb (plain)
1
2
3
4
5
6
7
if [ "$1" = "configure" ] || [ "$1" = "abort-upgrade" ]; then
	for f in @files@; do
		dpkg-divert --package firmware-@package@ --no-rename --quiet \
			--divert "/lib/firmware/$f.usr-is-merged" \
			--remove "/lib/firmware/$f"
	done
fi