From 841b7652e356b8138d0aff9f8111494759a5787f Mon Sep 17 00:00:00 2001 From: Nicolas Boisselier Date: Fri, 11 Oct 2024 17:41:13 +0200 Subject: [PATCH] etc/profile.d/linux.sh --- etc/profile.d/linux.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/etc/profile.d/linux.sh b/etc/profile.d/linux.sh index 36e3a082..a0b0efc9 100644 --- a/etc/profile.d/linux.sh +++ b/etc/profile.d/linux.sh @@ -3,7 +3,7 @@ case "$OSTYPE" in linux*) [ 1 ] ;; *) return ;; esac modprobe_ls() { find /lib/modules/$(uname -r) \ -type f -name '*.ko' \ - -or \ - -type f -name '*.ko.xz' \ + -or -type f -name '*.ko.xz' \ + -or -type f -name '*.ko.zst' \ | sed -E -e 's,^.*/([^/]+)\.ko(.xz)?$,\1,' | grep "${1:-^}" } -- 2.47.3