40-autodist-upstream-updates daily cron: don't run if AUTOPORT_UPDATE_NO_DISTROMATIC is set
This commit is contained in:
parent
a66a8f8029
commit
1da0a6d971
@ -1,16 +1,20 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
#
|
#
|
||||||
# autodist-upstream-updates daily cron script
|
# autodist-upstream-updates daily cron script
|
||||||
# (c) 2008-2012 by Silvan Calarco <silvan.calarco@mambasoft.it>
|
# (c) 2008-2014 by Silvan Calarco <silvan.calarco@mambasoft.it>
|
||||||
#
|
#
|
||||||
. /etc/autodist/config
|
. /etc/autodist/config
|
||||||
REPOSITORY=devel
|
. /etc/sysconfig/autoport
|
||||||
/usr/sbin/autodist-upstream-updates -q -h -u -r $REPOSITORY > $LOCAL_REPS_BASE_DIR/distromatic/$REPOSITORY/_popular.html
|
|
||||||
|
|
||||||
REPOSITORY=milestone1-1.1
|
if [ ! "$AUTOPORT_UPDATE_NO_DISTROMATIC" ]; then
|
||||||
/usr/sbin/autodist-upstream-updates -q -h -u -r $REPOSITORY > $LOCAL_REPS_BASE_DIR/distromatic/$REPOSITORY/_popular.html
|
REPOSITORY=devel
|
||||||
|
/usr/sbin/autodist-upstream-updates -q -h -u -r $REPOSITORY > $LOCAL_REPS_BASE_DIR/distromatic/$REPOSITORY/_popular.html
|
||||||
|
|
||||||
REPOSITORY=milestone2
|
REPOSITORY=milestone1-1.1
|
||||||
/usr/sbin/autodist-upstream-updates -q -h -u -r $REPOSITORY > $LOCAL_REPS_BASE_DIR/distromatic/$REPOSITORY/_popular.html
|
/usr/sbin/autodist-upstream-updates -q -h -u -r $REPOSITORY > $LOCAL_REPS_BASE_DIR/distromatic/$REPOSITORY/_popular.html
|
||||||
|
|
||||||
|
REPOSITORY=milestone2
|
||||||
|
/usr/sbin/autodist-upstream-updates -q -h -u -r $REPOSITORY > $LOCAL_REPS_BASE_DIR/distromatic/$REPOSITORY/_popular.html
|
||||||
|
fi
|
||||||
|
|
||||||
exit 0
|
exit 0
|
||||||
|
Loading…
Reference in New Issue
Block a user