From 28d04b08d78a9cdb3d35b49934481e24244707fc Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Mon, 30 Sep 2024 18:45:23 +0200 Subject: Merging debian version 20240709-2. Signed-off-by: Daniel Baumann --- debian/templates/postinst.usrmovemitigation.in | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 debian/templates/postinst.usrmovemitigation.in (limited to 'debian/templates/postinst.usrmovemitigation.in') 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 -- cgit v1.2.3