diff options
author | Jacek Konieczny | 2012-10-31 14:29:30 (GMT) |
---|---|---|
committer | Jacek Konieczny | 2012-10-31 14:29:30 (GMT) |
commit | af5feaae61966c7e64cdf39baececae4c4f5b0f4 (patch) | |
tree | 9d7cd0b72d720dd30b3aca5da8bd32e7e786d09f | |
parent | 5295e697e45be30a33e009026449a7646980c835 (diff) | |
download | efi-shell-af5feaae61966c7e64cdf39baececae4c4f5b0f4.zip efi-shell-af5feaae61966c7e64cdf39baececae4c4f5b0f4.tar.gz |
%post improved, %postun added
Notes
Notes:
- %post improved, %postun added
-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) |