diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-09-30 16:45:23 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-09-30 16:46:46 +0000 |
commit | 28d04b08d78a9cdb3d35b49934481e24244707fc (patch) | |
tree | b4007c0bd405f63d5ef127ed15a9129dea6e2f02 /debian/templates/postinst.usrmovemitigation.in | |
parent | Merging upstream version 20240709. (diff) | |
download | firmware-nonfree-28d04b08d78a9cdb3d35b49934481e24244707fc.tar.xz firmware-nonfree-28d04b08d78a9cdb3d35b49934481e24244707fc.zip |
Merging debian version 20240709-2.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
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 |