Merge remote-tracking branch 'origin/v6.1' into v6.4

This commit is contained in:
Hin-Tak Leung 2023-08-02 02:01:48 +01:00
commit aaa2090dbf

View file

@ -78,7 +78,7 @@ function get_kernel_version() {
function check_kernel_headers() {
VER_RUN=$(get_kernel_version)
VER_HDR=$(dpkg -L raspberrypi-kernel-headers | egrep -m1 "/lib/modules/[^-]+/build" | awk -F'/' '{ print $4; }')
VER_HDR=$(dpkg -L raspberrypi-kernel-headers | egrep -m1 "/lib/modules/[[:print:]]+/build" | awk -F'/' '{ print $4; }')
[ "X$VER_RUN" == "X$VER_HDR" ] && {
return 0
}