commit 0bf020878fbea0e438d59a7d39f7b68459013cd2 parent 5d8ab599f86ca7767cfb709368d7bad3b7d6cd4b Author: awy <awy@awy.one> Date: Tue, 18 Feb 2025 14:57:14 +0300 kernel version fix Diffstat:
M | post_chroot.sh | | | 2 | +- |
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/post_chroot.sh b/post_chroot.sh @@ -35,7 +35,7 @@ binKernel(){ } customKernel(){ - latestKernel=$(curl -s https://www.kernel.org/ | grep -A 1 'latest_link' | grep -oP '[0-9]+\.[0-9]+\.[0-9]+' | head -n 1) + latestKernel=$(curl -s https://www.kernel.org/ | grep -A 1 'latest_link' | grep -oP '[0-9]+\.[0-9]+(\.[0-9]+)?' | head -n 1) majorVersion=$(echo "$latestKernel" | cut -d'.' -f1) pacman -S efibootmgr --noconfirm cd /usr/src/