From 3e995a8195de4f95903a9397d90cd80a6155973a Mon Sep 17 00:00:00 2001 From: belliash Date: Mon, 16 Jan 2012 13:28:40 +0100 Subject: [PATCH] finally push data --- ezsync | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/ezsync b/ezsync index 5a22d23..a6abb16 100755 --- a/ezsync +++ b/ezsync @@ -211,5 +211,11 @@ for MODULE in ${MODULES_POSTCOMMIT}; do unloadModule done +# Optionally commit all changes to remote Portage repository +if ! isEnabled ${EZOPT_NOPUSH}; then + pushRepository ${PORTAGESDIR}/${PORTAGE_BUILD[0]} ${PORTAGE_BUILD[1]} "Automatic update [$(date +"${PUSHDATEFORMAT}")]." + [ ${?} -ne 0 ] && die "Ezbuild was unable to record changes to the remote Portage repository!" +fi + # Finally quit the application quit