From b2a111b7db0784f57894abdea13febc300f4d235 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?G=C3=B6kt=C3=BCrk=20Y=C3=BCksek?= Date: Sun, 6 Nov 2016 11:15:42 -0500 Subject: [PATCH] sys-boot/refind: add missing EROOT in postinst Package-Manager: portage-2.2.28 --- sys-boot/refind/refind-0.10.2-r2.ebuild | 4 ++-- sys-boot/refind/refind-0.10.3-r1.ebuild | 4 ++-- sys-boot/refind/refind-0.10.4-r1.ebuild | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/sys-boot/refind/refind-0.10.2-r2.ebuild b/sys-boot/refind/refind-0.10.2-r2.ebuild index 1d5029605b94e..8f0fe224aa882 100644 --- a/sys-boot/refind/refind-0.10.2-r2.ebuild +++ b/sys-boot/refind/refind-0.10.2-r2.ebuild @@ -147,7 +147,7 @@ src_install() { } pkg_postinst() { - elog "rEFInd has been built and installed into /usr/share/${P}" + elog "rEFInd has been built and installed into ${EROOT%/}/usr/share/${P}" elog "You will need to use the command 'refind-install' to install" elog "the binaries into your EFI System Partition" if [[ -z "${REPLACING_VERSIONS}" ]]; then @@ -158,7 +158,7 @@ pkg_postinst() { elog " sys-block/parted for automatic ESP location and mount" elog "" elog "A sample configuration can be found at" - elog "/usr/share/${P}/refind/refind.conf-sample" + elog "${EROOT%/}/usr/share/${P}/refind/refind.conf-sample" else ewarn "Note that this will not update any EFI binaries on your EFI" ewarn "System Partition - this needs to be done manually." diff --git a/sys-boot/refind/refind-0.10.3-r1.ebuild b/sys-boot/refind/refind-0.10.3-r1.ebuild index fcf8d9d0ac035..a5556a3b2abb3 100644 --- a/sys-boot/refind/refind-0.10.3-r1.ebuild +++ b/sys-boot/refind/refind-0.10.3-r1.ebuild @@ -148,7 +148,7 @@ src_install() { } pkg_postinst() { - elog "rEFInd has been built and installed into /usr/share/${P}" + elog "rEFInd has been built and installed into ${EROOT%/}/usr/share/${P}" elog "You will need to use the command 'refind-install' to install" elog "the binaries into your EFI System Partition" elog "" @@ -161,7 +161,7 @@ pkg_postinst() { elog "refind-mkdefault requires >=dev-lang/python-3" elog "" elog "A sample configuration can be found at" - elog "/usr/share/${P}/refind/refind.conf-sample" + elog "${EROOT%/}/usr/share/${P}/refind/refind.conf-sample" else if ! version_is_at_least "0.10.3" "${REPLACING_VERSIONS}"; then elog "The new refind-mkdefault script requires >=dev-lang/python-3" diff --git a/sys-boot/refind/refind-0.10.4-r1.ebuild b/sys-boot/refind/refind-0.10.4-r1.ebuild index fcf8d9d0ac035..2bc85ce09261d 100644 --- a/sys-boot/refind/refind-0.10.4-r1.ebuild +++ b/sys-boot/refind/refind-0.10.4-r1.ebuild @@ -148,7 +148,7 @@ src_install() { } pkg_postinst() { - elog "rEFInd has been built and installed into /usr/share/${P}" + elog "rEFInd has been built and installed into ${EROOT%/}/usr/share/${P}" elog "You will need to use the command 'refind-install' to install" elog "the binaries into your EFI System Partition" elog "" @@ -161,7 +161,7 @@ pkg_postinst() { elog "refind-mkdefault requires >=dev-lang/python-3" elog "" elog "A sample configuration can be found at" - elog "/usr/share/${P}/refind/refind.conf-sample" + elog "${EROOT%}/usr/share/${P}/refind/refind.conf-sample" else if ! version_is_at_least "0.10.3" "${REPLACING_VERSIONS}"; then elog "The new refind-mkdefault script requires >=dev-lang/python-3"