gentooup: install portage update prior to all others
* only if available * wait for eix-update
This commit is contained in:
parent
0248779c3b
commit
64c8fc7780
1 changed files with 6 additions and 1 deletions
|
@ -42,7 +42,12 @@ fi
|
|||
#any parameter prevents syncing
|
||||
if [[ ! -z ${SYNC_COMMAND} ]] ; then
|
||||
${SYNC_COMMAND}
|
||||
eix-update >& /dev/null &
|
||||
eix-update >& /dev/null
|
||||
fi
|
||||
|
||||
if eix -u -# sys-apps/portage > /dev/null ; then
|
||||
echo "portage update detected -> merging it"
|
||||
emerge -v1 portage
|
||||
fi
|
||||
|
||||
echo "emerge options: ${PORTAGE_OPTIONS[*]}"
|
||||
|
|
Loading…
Add table
Reference in a new issue