update messages
This commit is contained in:
parent
d79a366f75
commit
bc9e3fe0b4
8
ezsync
8
ezsync
|
@ -94,15 +94,15 @@ eval `keychain --noask --eval id_dsa id_rsa &> /dev/null`
|
|||
[ ${?} -ne 0 ] && die "EzBuild was unable to load public keys!" 1
|
||||
|
||||
# Update local copy of Portage that is being built
|
||||
printInfo "Refreshing local copy of build Portage tree..."
|
||||
printInfo "Refreshing constructed Portage tree..."
|
||||
pullRepository ${PORTAGESDIR}/${PORTAGE_BUILD[0]} ${PORTAGE_BUILD[1]} ${PORTAGE_BUILD[2]} ${PORTAGE_BUILD[3]}
|
||||
[ ${?} -ne 0 ] && die "EzBuild was unable to refresh local copy of build Portage tree!" 2
|
||||
[ ${?} -ne 0 ] && die "EzBuild was unable to refresh local copy of constructed Portage tree!" 2
|
||||
|
||||
# Update local copy of mainline Portage
|
||||
if ! hasElement "mainline" ${EZNOSYNC} && ! hasElement "portage" ${EZNOSYNC}; then
|
||||
printInfo "Refreshing mainline Portage tree..."
|
||||
pullRepository ${PORTAGESDIR}/${PORTAGE_MAINLINE[0]} ${PORTAGE_MAINLINE[1]} ${PORTAGE_MAINLINE[2]} ${PORTAGE_MAINLINE[3]}
|
||||
[ ${?} -ne 0 ] && die "EzBuild was unable to refresh mainline Portage tree!" 2
|
||||
[ ${?} -ne 0 ] && die "EzBuild was unable to refresh local copy of mainline Portage tree!" 2
|
||||
[ -e ${PORTAGESDIR}/${PORTAGE_MAINLINE[0]}/metadata/cache ] && rm -rf ${PORTAGESDIR}/${PORTAGE_MAINLINE[0]}/metadata/cache
|
||||
echo "distfiles/*" > ${PORTAGESDIR}/${PORTAGE_MAINLINE[0]}/.gitignore
|
||||
echo "packages/*" >> ${PORTAGESDIR}/${PORTAGE_MAINLINE[0]}/.gitignore
|
||||
|
@ -121,7 +121,7 @@ for OVERLAY in ${SYNC_OVERLAYS[*]}; do
|
|||
if ! hasElement "${CURRENT_OVERLAY[0]}" ${EZNOSYNC}; then
|
||||
printInfo "Refreshing overlay: ${CURRENT_OVERLAY[0]}..."
|
||||
pullRepository ${OVERLAYSDIR}/${CURRENT_OVERLAY[0]} ${CURRENT_OVERLAY[1]} ${CURRENT_OVERLAY[2]} ${CURRENT_OVERLAY[3]}
|
||||
[ ${?} -ne 0 ] && fail "EzBuild was unable to refresh ${CURRENT_OVERLAY[0]}!" 4
|
||||
[ ${?} -ne 0 ] && fail "EzBuild was unable to refresh local copy of overlay: ${CURRENT_OVERLAY[0]}!" 4
|
||||
fi
|
||||
done
|
||||
|
||||
|
|
Loading…
Reference in New Issue