sys-boot/refind: add missing EROOT in postinst
authorGöktürk Yüksek <gokturk@gentoo.org>
Sun, 6 Nov 2016 16:15:42 +0000 (11:15 -0500)
committerGöktürk Yüksek <gokturk@gentoo.org>
Sun, 6 Nov 2016 16:23:42 +0000 (11:23 -0500)
Package-Manager: portage-2.2.28

sys-boot/refind/refind-0.10.2-r2.ebuild
sys-boot/refind/refind-0.10.3-r1.ebuild
sys-boot/refind/refind-0.10.4-r1.ebuild

index 1d5029605b94e5772370926b9e141b68d7905f88..8f0fe224aa882dc52879fbac89db5cd12add6934 100644 (file)
@@ -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."
index fcf8d9d0ac03526dab085df2bcc8f81c83c485dc..a5556a3b2abb30f1831bc3551a5ff7e651dfdf1e 100644 (file)
@@ -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"
index fcf8d9d0ac03526dab085df2bcc8f81c83c485dc..2bc85ce09261d878774d5d6313cd11f436e82f5e 100644 (file)
@@ -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"