File: firmware-sof-signed.postinst

package info (click to toggle)
firmware-sof 2025.05.1-1
  • links: PTS, VCS
  • area: non-free-firmware
  • in suites: forky, sid
  • size: 40,080 kB
  • sloc: sh: 56; python: 27; makefile: 11
file content (11 lines) | stat: -rw-r--r-- 270 bytes parent folder | download | duplicates (8)
1
2
3
4
5
6
7
8
9
10
11
#!/bin/sh
set -e

if dpkg --compare-versions "$2" lt "2023.12.1-1.1"; then
    FWPATH=/lib/firmware/intel/sof-ace-tplg
else
    FWPATH=/usr/lib/firmware/intel/sof-ace-tplg
fi
dpkg-maintscript-helper dir_to_symlink $FWPATH sof-ipc4-tplg "2024.06-1~" -- "$@"

#DEBHELPER#