pentoo-scripts: this handles fixing python version set if it was updated and failed to set

This commit is contained in:
Rick Farina (Zero_Chaos) 2018-07-27 10:34:39 -04:00
parent 679fc25118
commit f599f36d41
No known key found for this signature in database
GPG key ID: A5DD1427DD11F94A

View file

@ -121,6 +121,7 @@ if [ -n "${clst_target}" ]; then #we are in catalyst
mkdir -p /var/log/portage/emerge-info/
emerge --info > /var/log/portage/emerge-info/emerge-info-$(date "+%Y%m%d").txt
else #we are on a user system
eselect python update
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..."