diff options
Diffstat (limited to 'debian/templates/postinst.usrmovemitigation.in')
-rw-r--r-- | debian/templates/postinst.usrmovemitigation.in | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/debian/templates/postinst.usrmovemitigation.in b/debian/templates/postinst.usrmovemitigation.in new file mode 100644 index 0000000..6009feb --- /dev/null +++ b/debian/templates/postinst.usrmovemitigation.in @@ -0,0 +1,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 |