]> git.pld-linux.org Git - packages/efi-shell.git/blobdiff - efi-shell.spec
post/postun scripts added to ther right subpackages
[packages/efi-shell.git] / 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.069937 seconds and 4 git commands to generate.