sys-apps/prefix-chain-utils: prefer /lib/gentoo/functions.sh
authorMichael Haubenwallner <haubi@gentoo.org>
Thu, 23 Mar 2017 11:59:30 +0000 (12:59 +0100)
committerMichael Haubenwallner <haubi@gentoo.org>
Thu, 23 Mar 2017 11:59:43 +0000 (12:59 +0100)
Package-Manager: portage-2.3.3

sys-apps/prefix-chain-utils/files/startprefix.in
sys-apps/prefix-chain-utils/prefix-chain-utils-0.2-r6.ebuild [moved from sys-apps/prefix-chain-utils/prefix-chain-utils-0.2-r5.ebuild with 97% similarity]

index 1b84ed3c28e14da07458b2e110657fa129fcb9cf..3882ffe14a9ce8fd4b22ac6c22f806ca781e5d64 100644 (file)
@@ -1,6 +1,13 @@
 #!/usr/bin/env bash
 
-. "@GENTOO_PORTAGE_EPREFIX@"/sbin/functions.sh
+if [[ -r "@GENTOO_PORTAGE_EPREFIX@"/lib/gentoo/functions.sh ]]; then
+       . "@GENTOO_PORTAGE_EPREFIX@"/lib/gentoo/functions.sh
+elif [[ -r "@GENTOO_PORTAGE_EPREFIX@"/etc/init.d/functions.sh ]]; then
+       . "@GENTOO_PORTAGE_EPREFIX@"/etc/init.d/functions.sh
+elif [[ -r "@GENTOO_PORTAGE_EPREFIX@"/sbin/functions.sh ]]; then
+       . "@GENTOO_PORTAGE_EPREFIX@"/sbin/functions.sh
+fi
+
 einfo "entering chained prefix @GENTOO_PORTAGE_EPREFIX@ ..."
 
 # inform profiles very early of us beeing interactive (or at least,
similarity index 97%
rename from sys-apps/prefix-chain-utils/prefix-chain-utils-0.2-r5.ebuild
rename to sys-apps/prefix-chain-utils/prefix-chain-utils-0.2-r6.ebuild
index 1a31f8ddc67f74dfc090af1e96895b24721d2269..fe753b07b811e5efc0bc5c60b164dd388fa8aeb1 100644 (file)
@@ -4,7 +4,7 @@
 inherit prefix
 
 DESCRIPTION="Chained EPREFIX utilities and wrappers"
-HOMEPAGE="https://dev.gentoo.org/~mduft"
+HOMEPAGE="https://dev.gentoo.org/~haubi"
 SRC_URI=""
 
 LICENSE="GPL-3"