gentooup: update only overlays if chrooted
This commit is contained in:
parent
d7842fb21d
commit
37040710cf
1 changed files with 4 additions and 0 deletions
|
@ -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}
|
||||
|
|
Loading…
Add table
Reference in a new issue