[util-iso-boot] Proper last commit

- actually define boot value as it was only locally defined in another function
- see also: https://github.com/manjaro/manjaro-syslinux-theme/issues/1
This commit is contained in:
Philip 2016-12-26 09:11:19 +01:00
parent 5e4332c2da
commit 0ba5099892

View file

@ -108,6 +108,7 @@ prepare_efi_loader(){
}
check_syslinux_select(){
local boot=$2/${iso_name}/boot
if [[ ! -f ${boot}/x86_64/vmlinuz ]] ; then
msg2 "Configuring syslinux for i686 architecture only ..."
sed -e "s/select.cfg/i686_inc.cfg/g" -i "$1/miso.cfg"