gentooup: install portage update prior to all others

* only if available
	* wait for eix-update
This commit is contained in:
Tobias Klaus 2018-02-08 13:55:32 +01:00
parent 0248779c3b
commit 64c8fc7780

View file

@ -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[*]}"