diff options
Diffstat (limited to 'efi-shell.spec')
-rw-r--r-- | efi-shell.spec | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/efi-shell.spec b/efi-shell.spec index 7aa95ad..4fad555 100644 --- a/efi-shell.spec +++ b/efi-shell.spec @@ -48,7 +48,10 @@ install UefiShell/X64/Shell.efi $RPM_BUILD_ROOT/lib/efi/x64 rm -rf $RPM_BUILD_ROOT %post -/sbin/efi-boot-update --auto || : +[ -x /sbin/efi-boot-update ] && /sbin/efi-boot-update --auto || : + +%postun +[ -x /sbin/efi-boot-update ] && /sbin/efi-boot-update --auto || : %files ia32 %defattr(644,root,root,755) |