From 380a768d8d9367c0b0145cf70c3970d88cc173a8 Mon Sep 17 00:00:00 2001 From: teldra Date: Tue, 13 Jun 2023 08:39:34 +0200 Subject: [PATCH] grub: change variable substitution --- etc/bootloader/grub | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/etc/bootloader/grub b/etc/bootloader/grub index dc23a8b..440e913 100644 --- a/etc/bootloader/grub +++ b/etc/bootloader/grub @@ -100,6 +100,6 @@ config() { fi lv=$(xbps-query linux|grep pkgver|awk '{print $2}') lv1="${lv//-/}" - lv2="${lv1%_*}" + lv2="${lv1%%_*}" xbps-reconfigure -f "${lv2}" }