mirror of
https://github.com/pentoo/pentoo-overlay
synced 2025-12-15 21:02:30 +01:00
pentoo-updater: set permissions
This commit is contained in:
parent
d6591ab0b2
commit
53996556c5
1 changed files with 2 additions and 0 deletions
|
|
@ -343,6 +343,8 @@ do_sync() {
|
|||
return
|
||||
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}
|
||||
if ! emerge --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..."
|
||||
|
|
|
|||
Loading…
Reference in a new issue