Skip to content

Commit

Permalink
sys-apps/portage: fix typo in "if prefix-guest"
Browse files Browse the repository at this point in the history
  should be "if use prefix-guest".

Package-Manager: Portage-2.3.3, Repoman-2.3.1
  • Loading branch information
heroxbd committed Nov 4, 2017
1 parent bb847b3 commit c637e13
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion sys-apps/portage/portage-2.3.12.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ python_prepare_all() {
einfo "Adjusting repos.conf ..."
sed -e "s|^\(location = \)\(/usr/portage\)|\\1${EPREFIX}\\2|" \
-i cnf/repos.conf || die "sed failed"
if prefix-guest ; then
if use prefix-guest ; then
sed -e "s|^\(main-repo = \).*|\\1gentoo_prefix|" \
-e "s|^\\[gentoo\\]|[gentoo_prefix]|" \
-e "s|^\(sync-uri = \).*|\\1rsync://rsync.prefix.bitzolder.nl/gentoo-portage-prefix|" \
Expand Down
2 changes: 1 addition & 1 deletion sys-apps/portage/portage-2.3.13.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ python_prepare_all() {
einfo "Adjusting repos.conf ..."
sed -e "s|^\(location = \)\(/usr/portage\)|\\1${EPREFIX}\\2|" \
-i cnf/repos.conf || die "sed failed"
if prefix-guest ; then
if use prefix-guest ; then
sed -e "s|^\(main-repo = \).*|\\1gentoo_prefix|" \
-e "s|^\\[gentoo\\]|[gentoo_prefix]|" \
-e "s|^\(sync-uri = \).*|\\1rsync://rsync.prefix.bitzolder.nl/gentoo-portage-prefix|" \
Expand Down
2 changes: 1 addition & 1 deletion sys-apps/portage/portage-2.3.8.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ python_prepare_all() {
einfo "Adjusting repos.conf ..."
sed -e "s|^\(location = \)\(/usr/portage\)|\\1${EPREFIX}\\2|" \
-i cnf/repos.conf || die "sed failed"
if prefix-guest ; then
if use prefix-guest ; then
sed -e "s|^\(main-repo = \).*|\\1gentoo_prefix|" \
-e "s|^\\[gentoo\\]|[gentoo_prefix]|" \
-e "s|^\(sync-uri = \).*|\\1rsync://rsync.prefix.bitzolder.nl/gentoo-portage-prefix|" \
Expand Down

0 comments on commit c637e13

Please sign in to comment.