summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Gilbert <floppym@gentoo.org>2016-08-24 14:11:19 -0400
committerMike Gilbert <floppym@gentoo.org>2016-08-24 14:11:55 -0400
commit6b6dc3200101e816b21bed0be6b795421956f9bf (patch)
tree4e3a87c8dce26b875dda1a3f216e87e0ed93e7b9 /sys-boot
parentapp-admin/conky: Version bump, fixes bug #590878. (diff)
downloadgentoo-6b6dc3200101e816b21bed0be6b795421956f9bf.tar.gz
gentoo-6b6dc3200101e816b21bed0be6b795421956f9bf.tar.bz2
gentoo-6b6dc3200101e816b21bed0be6b795421956f9bf.zip
sys-boot/grub: update postinst warnings for multislot
Package-Manager: portage-2.3.0_p22
Diffstat (limited to 'sys-boot')
-rw-r--r--sys-boot/grub/grub-2.02_beta2-r9.ebuild4
1 files changed, 2 insertions, 2 deletions
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