eobuilder: update repository after each dput
This commit is contained in:
parent
113e1420dc
commit
c6d4563e6f
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue