diff --git a/bootfiles/bootinst.sh b/bootfiles/bootinst.sh index 23cf7bf..bc38034 100755 --- a/bootfiles/bootinst.sh +++ b/bootfiles/bootinst.sh @@ -41,8 +41,8 @@ if [ "$DEV" != "$PART" ]; then fi # UEFI boot loader -mkdir -p "EFI/Boot" -cp "boot/EFI/Boot/*" "EFI/Boot" +mkdir -p "$BOOT/../../EFI" +mv "EFI/Boot" "$BOOT/../../EFI/" echo "Boot installation finished." cd "$CWD"