Browse Source

correct some messages

master
belliash 9 years ago
parent
commit
d79a366f75
1 changed files with 4 additions and 4 deletions
  1. +4
    -4
      ezsync

+ 4
- 4
ezsync View File

@ -100,9 +100,9 @@ pullRepository ${PORTAGESDIR}/${PORTAGE_BUILD[0]} ${PORTAGE_BUILD[1]} ${PORTAGE_
# Update local copy of mainline Portage
if ! hasElement "mainline" ${EZNOSYNC} && ! hasElement "portage" ${EZNOSYNC}; then
printInfo "Synchronizing mainline Portage tree..."
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 synchronize mainline Portage tree!" 2
[ ${?} -ne 0 ] && die "EzBuild was unable to refresh 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
@ -119,9 +119,9 @@ 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]}..."
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 synchronize ${CURRENT_OVERLAY[0]}!" 4
[ ${?} -ne 0 ] && fail "EzBuild was unable to refresh ${CURRENT_OVERLAY[0]}!" 4
fi
done

Loading…
Cancel
Save