File post.grub2 of Package branding-basedonopensuse

%{_datadir}/grub2/themes/%theme_name/activate-theme
if test -e /boot/grub2/grub.cfg ; then
  /usr/sbin/grub2-mkconfig -o /boot/grub2/grub.cfg || true
elif test -e /boot/grub2-efi/grub.cfg ; then
  /usr/sbin/grub2-efi-mkconfig -o /boot/grub2-efi/grub.cfg || true
fi