diff --git a/scripts/main.sh b/scripts/main.sh index 60da14d..979fb0b 100644 --- a/scripts/main.sh +++ b/scripts/main.sh @@ -284,7 +284,27 @@ function main_install_gentoo_in_chroot() { # Sync portage einfo "Syncing portage tree" - try emerge-webrsync + if [[ "$PORTAGE_SYNC_TYPE" == "git" ]]; then + mkdir_or_die 0755 "/etc/portage/repos.conf" + cat > /etc/portage/repos.conf/gentoo.conf <