File: debian_kernel_preinst.d.in

package info (click to toggle)
dkms 3.2.2-1~deb13u1
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 1,500 kB
  • sloc: sh: 6,526; ansic: 226; makefile: 188; perl: 91; python: 67
file content (11 lines) | stat: -rw-r--r-- 266 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
#!/bin/sh

# This script is triggered when the kernel (linux-image) package is being
# installed/upgraded.  We're passed the version of the kernel being installed.
inst_kern=$1

if command -v dkms > /dev/null; then
    dkms kernel_preinst -k "$inst_kern"
fi

exit 0