Fix logging on emerge-webrsync

This commit is contained in:
Salt 2020-12-04 06:45:55 -06:00
parent 0dd50892c3
commit 55d721e5b6

View File

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