Skip to content

Commit a374da9

Browse files
authored
Merge pull request #97 from tsirakisn/fix-upgrade-stable-8
STABLE-8: OXT-1376: installer: Don't create new boot entries on upgrade
2 parents 27d8ecc + 0cf98b4 commit a374da9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

part2/stages/Functions/install-main

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -628,7 +628,7 @@ copy_to_esp()
628628

629629
do_cmd umount ${ESP_MOUNT} >&2
630630

631-
if [ -d /sys/firmware/efi/efivars ]; then
631+
if [ "${INSTALL_MODE}" = "fresh" ] && [ -d /sys/firmware/efi/efivars ]; then
632632
create_efi_boot_entries ${ESP}
633633
return $?
634634
fi

0 commit comments

Comments
 (0)