mirror of
https://github.com/pentoo/pentoo-overlay
synced 2026-05-09 04:51:27 +02:00
pentoo-updater: protect call to eselect python update
This commit is contained in:
parent
42dda0fce2
commit
493f1c8c9b
1 changed files with 3 additions and 1 deletions
|
|
@ -259,7 +259,9 @@ 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 [[ -z "$(eselect python show)" || ! -f "/usr/bin/$(eselect python show)" ]]; then
|
||||
eselect python update
|
||||
fi
|
||||
eselect python cleanup
|
||||
[ "${NO_SYNC}" = "true" ] || do_sync
|
||||
check_profile
|
||||
|
|
|
|||
Loading…
Reference in a new issue