Update gentoo-kde.sh

This commit is contained in:
verita84 2024-02-15 21:50:25 -07:00
parent 0fd378b0a2
commit 05edcd7564

View File

@ -612,7 +612,7 @@ bootloader() {
cp -rf /boot/* /efi/$MACHINE_ID
#MACHINE_ID=$(ls /efi | grep -Evi 'loader|efi')
KERNEL=$(eselect kernel list | cut -d ']' -f2 | cut -d "*" -f1 | cut -d "-" -f2 | tail -1)
KERNEL_VERSION=$(ls /efi/$MACHINE_ID)
KERNEL_VERSION=$(ls /efi/$MACHINE_ID | tail -1)
ROOT_NAME=$1
BTRFS=$2
LOADER_FILE="/efi/loader/entries/$MACHINE_ID-$KERNEL_VERSION.conf"