commit: 5dede2df8b212cd9c06162597561c6149b74958e Author: Benda Xu <heroxbd <AT> gentoo <DOT> org> AuthorDate: Fri Jun 3 08:18:37 2016 +0000 Commit: Benda XU <heroxbd <AT> gentoo <DOT> org> CommitDate: Wed Jun 15 11:32:36 2016 +0000 URL: https://gitweb.gentoo.org/repo/proj/prefix.git/commit/?id=5dede2df
scripts/bootstrap-prefix.sh: startprefix for RAP. scripts/bootstrap-prefix.sh | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/scripts/bootstrap-prefix.sh b/scripts/bootstrap-prefix.sh index 90a7f03..a5db862 100755 --- a/scripts/bootstrap-prefix.sh +++ b/scripts/bootstrap-prefix.sh @@ -480,6 +480,13 @@ bootstrap_startscript() { # currently I think right into the prefix is the best location, as # putting it in /bin or /usr/bin just hides it some more for the # user + if is-rap ; then + mkdir -p "${ROOT}"/usr/portage/scripts + wget --no-check-certificate \ + https://gitweb.gentoo.org/repo/proj/prefix.git/plain/scripts/startprefix.in \ + -O "${ROOT}"/usr/portage/scripts/startprefix.in + fi + sed \ -e "s|@GENTOO_PORTAGE_EPREFIX@|${ROOT}|g" \ "${ROOT}"/usr/portage/scripts/startprefix.in \