update all overlays
This commit is contained in:
parent
8e0399dbaf
commit
db27d6ae14
12
ezsync
12
ezsync
|
@ -109,3 +109,15 @@ if ! hasElement "mainline" ${EZNOSYNC} && ! hasElement "portage" ${EZNOSYNC}; th
|
|||
mv ${PORTAGESDIR}/${PORTAGE_MAINLINE[0]}/profiles/package.mask.bak ${PORTAGESDIR}/${PORTAGE_MAINLINE[0]}/profiles/package.mask/${PORTAGE_MAINLINE[0]%-*} &> /dev/null
|
||||
fi
|
||||
fi
|
||||
|
||||
# Update all overlays (including the one that's optionally going to be built)
|
||||
SYNC_OVERLAYS=( ${MERGED_OVERLAY[*]} ${MERGED_PORTAGE[*]} )
|
||||
for OVERLAY in ${SYNC_OVERLAYS[*]}; do
|
||||
TEMP="\${$OVERLAY[*]}"
|
||||
CURRENT_OVERLAY=(`eval echo ${TEMP}`)
|
||||
if ! hasElement "${CURRENT_OVERLAY[0]}" ${EZNOSYNC}; then
|
||||
printInfo "Synchronizing overlay: ${CURRENT_OVERLAY[0]}..."
|
||||
synchronizeRepository ${OVERLAYSDIR}/${CURRENT_OVERLAY[0]} ${CURRENT_OVERLAY[1]} ${CURRENT_OVERLAY[2]} ${CURRENT_OVERLAY[3]}
|
||||
[ ${?} -ne 0 ] && fail "EzBuild was unable to synchronize ${CURRENT_OVERLAY[0]}!" 4
|
||||
fi
|
||||
done
|
||||
|
|
Loading…
Reference in New Issue