View | Details | Raw Unified | Return to bug 41959
Collapse All | Expand All

(-)a/grub-efi-autoupdate (-2 / +2 lines)
Lines 25-31 GRUB_REMOVABLE= Link Here
25
25
26
if ! stat $EFI_DIR/EFI/$DIST/grub*.efi > /dev/null 2>&1; then
26
if ! stat $EFI_DIR/EFI/$DIST/grub*.efi > /dev/null 2>&1; then
27
	echo "$EFI_DIR/EFI/$DIST/grub*.efi is missing, not fatal yet."
27
	echo "$EFI_DIR/EFI/$DIST/grub*.efi is missing, not fatal yet."
28
	if ! stat $EFI_DIR/EFI/BOOT/grub*.efi > /dev/null 2>&1; then
28
	if ! stat $EFI_DIR/EFI/BOOT/grub*.efi > /dev/null 2>&1 &&
29
	   ! stat $EFI_DIR/EFI/BOOT/grub.cfg > /dev/null 2>&1; then
29
		echo
30
		echo
30
		echo "$EFI_DIR/EFI/BOOT/grub*.efi is missing too. Fatal."
31
		echo "$EFI_DIR/EFI/BOOT/grub*.efi is missing too. Fatal."
31
		echo "Nothing to update. Please run: grub-install && grub-efi-autoupdate"
32
		echo "Nothing to update. Please run: grub-install && grub-efi-autoupdate"
32
- 

Return to bug 41959