gentooup.sh: update gentoolkit with portage if installed
Otherwise cirular dependecies prevent portage upgrade
This commit is contained in:
parent
c195f361a2
commit
0575ae669c
1 changed files with 6 additions and 1 deletions
|
@ -60,8 +60,13 @@ fi
|
|||
|
||||
if eix -u -# sys-apps/portage > /dev/null ; then
|
||||
echo "portage update detected -> merging it"
|
||||
|
||||
if eix -u -# app-portage/gentoolkit > /dev/null ; then
|
||||
emerge -v1 sys-apps/portage app-portage/gentoolkit
|
||||
else
|
||||
emerge -v1 portage
|
||||
fi
|
||||
fi
|
||||
|
||||
echo "emerge options: ${PORTAGE_OPTIONS[*]}"
|
||||
emerge $PORTAGE_ASK "${PORTAGE_UPGRADE_OPTIONS[@]}" "${PORTAGE_OPTIONS[@]}" world
|
||||
|
|
Loading…
Add table
Reference in a new issue