Sophie

Sophie

distrib > Mageia > cauldron > x86_64 > media > core-release > by-pkgid > 6df85e1de73c5d9d328fb6b248c3f116 > scriptlet

grub2-efi-2.06-29.mga10.x86_64.rpm

PREUN

/bin/sh
# Only if uninstalling
if [ $1 -eq 0 ]; then
rm -rf /boot/grub2/x86_64-efi
rm -rf /boot/grub2/locale
fi

POSTIN

/bin/sh
if [[ ! -e /boot/efi && -e /boot/EFI ]]; then
	ln -fs EFI /boot/efi
fi
if [ $1 -eq 2 ]; then
      touch /boot/grub2/updtrans
fi