diff --git a/gentooup.sh b/gentooup.sh index b2df768..34c4b35 100755 --- a/gentooup.sh +++ b/gentooup.sh @@ -48,6 +48,10 @@ if [[ ${1} == "--full" || ${2} == "--full" ]] ; then PORTAGE_UPGRADE_OPTIONS+=("--with-bdeps=y") fi +if [[ $CHROOTED == 1 ]] ; then + SYNC_COMMAND="layman -S" +fi + #any parameter prevents syncing if [[ ! -z ${SYNC_COMMAND} ]] ; then ${SYNC_COMMAND}