eobuilder: update repository after each dput

This commit is contained in:
Jerome Schneider 2013-12-10 12:15:25 +01:00
parent 113e1420dc
commit c6d4563e6f
1 changed files with 2 additions and 6 deletions

View File

@ -288,7 +288,8 @@ for DIST in $DISTS; do
echo "+ Sending package ..."
cd $PBUILDER_PROJECT_RESULT
dput -u $DEBIAN_REPOSITORY ${PACKAGE_NAME}_${PACKAGE_VERSION}_${ARCH}.changes
DID_BUILD=1
echo "+ Updating repository ..."
ssh root@leucas.entrouvert.org "/etc/cron.hourly/process-incoming"
fi
# mark that we did build a source package
if [ "x$SOURCE_OPT" == "x" ]; then
@ -299,8 +300,3 @@ for DIST in $DISTS; do
touch $GIT_PATH/${PROJECT_NAME}_${PACKAGE_VERSION}_${DIST}.build
done
if [ $DID_BUILD -eq 1 ]; then
echo "+ Updating repository ..."
ssh root@leucas.entrouvert.org "/etc/cron.hourly/process-incoming"
fi