[packages/efi-shell] post/postun scripts added to ther right subpackages
    jajcus 
    jajcus at pld-linux.org
       
    Thu Nov  1 13:21:36 CET 2012
    
    
  
commit c3f11303bc024be9a6dd21208acd3d8021ddea58
Author: Jacek Konieczny <jajcus at jajcus.net>
Date:   Thu Nov 1 13:20:46 2012 +0100
    post/postun scripts added to ther right subpackages
 efi-shell.spec | 10 ++++++++--
 1 file changed, 8 insertions(+), 2 deletions(-)
---
diff --git a/efi-shell.spec b/efi-shell.spec
index 0e774b3..6148c23 100644
--- a/efi-shell.spec
+++ b/efi-shell.spec
@@ -49,10 +49,16 @@ install %{SOURCE2} $RPM_BUILD_ROOT/etc/efi-boot/update.d/shell_x64.conf
 %clean
 rm -rf $RPM_BUILD_ROOT
 
-%post
+%post ia32
 [ -x /sbin/efi-boot-update ] && /sbin/efi-boot-update --auto || :
 
-%postun
+%postun ia32
+[ -x /sbin/efi-boot-update ] && /sbin/efi-boot-update --auto || :
+
+%post x64
+[ -x /sbin/efi-boot-update ] && /sbin/efi-boot-update --auto || :
+
+%postun x64
 [ -x /sbin/efi-boot-update ] && /sbin/efi-boot-update --auto || :
 
 %files ia32
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/efi-shell.git/commitdiff/c3f11303bc024be9a6dd21208acd3d8021ddea58
    
    
More information about the pld-cvs-commit
mailing list