X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=config%2Fdebian%2Fcron.unchecked;h=916d4e5dd3d1f1b7734744a95449ded84cb3bd46;hb=11c5e4d559120ac40c31b27c9422c79dfa5e0960;hp=6d3226d894ac74d2052bf4ea7bf9b67add985013;hpb=b9b8223ed20df7f07052f3182585ac7753e50c02;p=dak.git diff --git a/config/debian/cron.unchecked b/config/debian/cron.unchecked index 6d3226d8..916d4e5d 100755 --- a/config/debian/cron.unchecked +++ b/config/debian/cron.unchecked @@ -65,12 +65,6 @@ function do_buildd () { fi } -function do_dists () { - #cd $configdir - #dak generate-filelist -s unstable,experimental -i - dak generate-packages-sources2 -s unstable experimental >/dev/null -} - ######################################################################## # the actual unchecked functions follow # ######################################################################## @@ -80,8 +74,8 @@ export LANG=C export LC_ALL=C # only run one cron.unchecked -if ! lockfile -r8 $LOCKFILE; then - echo "aborting cron.unchecked because $LOCKFILE has already been locked" +if ! lockfile -r8 $LOCKFILE 2> /dev/null; then + # echo "aborting cron.unchecked because $LOCKFILE has already been locked" exit 0 fi trap cleanup 0 @@ -101,7 +95,6 @@ do_unchecked if [ ! -z "$changes" ]; then sync_debbugs do_buildd - #do_dists fi dak contents -l 10000 scan-binary