diff options
Diffstat (limited to 'scripts/build')
-rwxr-xr-x | scripts/build/lb_binary_syslinux | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/scripts/build/lb_binary_syslinux b/scripts/build/lb_binary_syslinux index c5f53bfa5..c869f5fb8 100755 --- a/scripts/build/lb_binary_syslinux +++ b/scripts/build/lb_binary_syslinux @@ -96,10 +96,9 @@ Syslinux_live_entry () case "${LB_BINARY_IMAGES}" in iso*|usb*) NUMBER="$(ls -1 ${KERNEL_PATH} | grep 'vmlinuz-' | wc -l)" - NUMBER="$((${NUMBER} +1))" # Do not add numbering to filenames if first kernel/initrd - if [ "${NUMBER}" = "1" ] + if [ "${NUMBER}" = "2" ] then NUMBER="" fi |