summaryrefslogtreecommitdiffstats
path: root/debian/firmware-misc-nonfree.preinst
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-09-30 16:45:07 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-09-30 16:45:07 +0000
commit0ec4a0912294e5ef354ea5074e0446eb364e05c5 (patch)
tree020b497d1954ba229263a78d0b150c97a5cc57e8 /debian/firmware-misc-nonfree.preinst
parentMerging upstream version 20240709. (diff)
downloadfirmware-nonfree-0ec4a0912294e5ef354ea5074e0446eb364e05c5.tar.xz
firmware-nonfree-0ec4a0912294e5ef354ea5074e0446eb364e05c5.zip
Adding debian version 20240709-2.debian/20240709-2debian
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'debian/firmware-misc-nonfree.preinst')
-rw-r--r--debian/firmware-misc-nonfree.preinst15
1 files changed, 15 insertions, 0 deletions
diff --git a/debian/firmware-misc-nonfree.preinst b/debian/firmware-misc-nonfree.preinst
new file mode 100644
index 0000000..9c0053c
--- /dev/null
+++ b/debian/firmware-misc-nonfree.preinst
@@ -0,0 +1,15 @@
+#!/bin/sh
+
+set -e
+
+if [ "$1" = "upgrade" ] || [ "$1" = "install" ]; then
+ for f in ti/vpdma-1b8.bin; do
+ dpkg-divert --package firmware-misc-nonfree --no-rename --quiet \
+ --divert "/lib/firmware/$f.usr-is-merged" \
+ --add "/lib/firmware/$f"
+ done
+fi
+
+#DEBHELPER#
+
+exit 0