From 6b6dc3200101e816b21bed0be6b795421956f9bf Mon Sep 17 00:00:00 2001 From: Mike Gilbert <floppym@gentoo.org> Date: Wed, 24 Aug 2016 14:11:19 -0400 Subject: sys-boot/grub: update postinst warnings for multislot Package-Manager: portage-2.3.0_p22 --- sys-boot/grub/grub-2.02_beta2-r9.ebuild | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sys-boot') diff --git a/sys-boot/grub/grub-2.02_beta2-r9.ebuild b/sys-boot/grub/grub-2.02_beta2-r9.ebuild index 75d6dd14254a..3bc7b41de711 100644 --- a/sys-boot/grub/grub-2.02_beta2-r9.ebuild +++ b/sys-boot/grub/grub-2.02_beta2-r9.ebuild @@ -287,7 +287,7 @@ pkg_postinst() { if [[ -e "${ROOT%/}/boot/grub2/grub.cfg" ]]; then ewarn "The grub directory has changed from /boot/grub2 to /boot/grub." - ewarn "Please run grub2-install and grub2-mkconfig -o /boot/grub/grub.cfg." + ewarn "Please run $(usex multislot grub2 grub)-install and $(usex multislot grub2 grub)-mkconfig -o /boot/grub/grub.cfg." if [[ ! -e "${ROOT%/}/boot/grub/grub.cfg" ]]; then mkdir -p "${ROOT%/}/boot/grub" @@ -315,7 +315,7 @@ pkg_postinst() { local v for v in ${REPLACING_VERSIONS}; do if ! version_is_at_least 2.02_beta2-r8 ${v}; then - ewarn "Please re-run grub2-install to address a security flaw when using" + ewarn "Please re-run $(usex multislot grub2 grub)-install to address a security flaw when using" ewarn "username/password authentication in grub." ewarn "See bug 568326 for more information." fi -- cgit v1.2.3-65-gdbad