Merge pull request #2660 from pentoo/updates20260119

updates20260119
This commit is contained in:
github-actions[bot] 2026-01-19 18:43:35 +00:00 committed by GitHub
commit 8417849e71
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 6 additions and 1 deletions

View file

@ -29,6 +29,7 @@ dev-haskell/mtl
dev-haskell/nats
dev-haskell/old-locale
dev-haskell/onetuple
dev-haskell/os-string
dev-haskell/parsec
dev-haskell/primitive
dev-haskell/quickcheck
@ -44,6 +45,7 @@ dev-haskell/statevar
dev-haskell/stm
dev-haskell/strict
dev-haskell/tagged
dev-haskell/tasty
dev-haskell/text
dev-haskell/text-short
dev-haskell/tf-random

View file

@ -424,7 +424,10 @@ do_sync() {
fi
# People seem to break these permissions a lot, so just set them. it takes <3 seconds on my box
chown -R portage:portage "$(portageq get_repo_path / gentoo)"
chown -R portage:portage "$(portageq get_repo_path / pentoo)"
pentoo_repo="$(portageq get_repo_path / pentoo)"
if ! grep -q 'git@github.com:pentoo/pentoo-overlay.git' "${pentoo_repo}/.git/config"; then
chown -R portage:portage "$(portageq get_repo_path / pentoo)"
fi
if ! emaint sync; then
if [ -e /etc/portage/repos.conf/pentoo.conf ] && grep -q pentoo.asc /etc/portage/repos.conf/pentoo.conf; then
printf "Pentoo repo key incorrectly defined, fixing..."