From 4bfe3c7a6770ffe3a6f72cf9ae2afca72141cb8c Mon Sep 17 00:00:00 2001 From: "Rick Farina (Zero_Chaos)" Date: Thu, 6 Apr 2023 12:34:25 -0400 Subject: [PATCH] pentoo-updater: temp fix for binpkg issue Bug: https://bugs.gentoo.org/903917 --- scripts/pentoo-updater.sh | 21 ++++++++++++++++++++- 1 file changed, 20 insertions(+), 1 deletion(-) 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 / '