[packages/efi-boot-update] Fix triggers – they must not fail
jajcus
jajcus at pld-linux.org
Tue Oct 30 21:03:25 CET 2012
commit 45f5d1d85a32bbe4e7009e01cfa48db2bcc41f96
Author: Jacek Konieczny <jajcus at jajcus.net>
Date: Tue Oct 30 21:01:45 2012 +0100
Fix triggers – they must not fail
efi-boot-update.spec | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/efi-boot-update.spec b/efi-boot-update.spec
index 9b3fff1..c229f2f 100644
--- a/efi-boot-update.spec
+++ b/efi-boot-update.spec
@@ -48,9 +48,9 @@ rm -rf $RPM_BUILD_ROOT
# Most efi-boot-update-managed loaders will use kernel files
# even if the kernel itself is not build as EFI
%triggerin -- kernel
-/sbin/efi-boot-update
+/sbin/efi-boot-update || :
%triggerin -- kernel-longterm
-/sbin/efi-boot-update
+/sbin/efi-boot-update || :
%files
%defattr(644,root,root,755)
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/efi-boot-update.git/commitdiff/24e7240b2b9dbcee7607b5eaf2712cefb55e0e82
More information about the pld-cvs-commit
mailing list