diff --git a/scripts/pentoo-updater.sh b/scripts/pentoo-updater.sh index a1db59d4b..3f1697285 100755 --- a/scripts/pentoo-updater.sh +++ b/scripts/pentoo-updater.sh @@ -359,8 +359,26 @@ do_sync() { fi # People seem to break these permissions a lot, so just set them. it takes <3 seconds on my box - chown portage:portage -R /var/db/repos/{gentoo,pentoo} + chown -R portage:portage "$(portageq get_repo_path / gentoo)" + chown -R portage:portage "$(portageq get_repo_path / pentoo)" if ! emerge --sync; then + #adjust the portage version to check for once the bug is fixed + bug903917="$(portageq match / '