Fix logging on emerge-webrsync

This commit is contained in:
Salt 2020-12-04 06:45:55 -06:00
parent 0dd50892c3
commit 55d721e5b6
1 changed files with 2 additions and 2 deletions

View File

@ -228,8 +228,8 @@ build-gentoo-chroot() {
log "Building Gentoo from within chroot"
# Sync repositories
log "Getting ebuild repositories"
if ! grep /etc/portage/repos.conf/gentoo.conf -ie 'git'; then
if ! grep /etc/portage/repos.conf/gentoo.conf -ie 'git' > /dev/null 2>&1; then
log "Getting ebuild repositories"
# Only do this rsync if we're actually rsyncing
# As part of installation, we switch to git, so this prevents us from hammering upstream, too
emerge-webrsync