]> git.pld-linux.org Git - packages/efi-shell.git/commitdiff
post/postun scripts added to ther right subpackages auto/th/efi-shell-2.0-0.13902.1
authorJacek Konieczny <jajcus@jajcus.net>
Thu, 1 Nov 2012 12:20:46 +0000 (13:20 +0100)
committerJacek Konieczny <jajcus@jajcus.net>
Thu, 1 Nov 2012 12:20:46 +0000 (13:20 +0100)
efi-shell.spec

index 0e774b3725f2362fa52dd72b82547ba1bd137c0f..6148c2332b26347fbfc6f4dd7f7b69b713b07a6b 100644 (file)
@@ -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
This page took 0.069295 seconds and 4 git commands to generate.