From e01964e86ac0935fcefa94cdf7e4d2878caac2a2 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Sat, 6 Jan 2024 13:08:58 +0100 Subject: [PATCH] 40-autodist-upstream-updates: remove obsolete nightly autodist-upstream-updates cron launcher --- Makefile | 1 - etc/cron.daily/40-autodist-upstream-updates | 20 -------------------- 2 files changed, 21 deletions(-) delete mode 100755 etc/cron.daily/40-autodist-upstream-updates diff --git a/Makefile b/Makefile index 4c1d60e..c8f3144 100644 --- a/Makefile +++ b/Makefile @@ -104,7 +104,6 @@ install-data: @$(INSTALL_SCRIPT) etc/cron.hourly/60-autodist-update $(DESTDIR)$(sysconfdir)/cron.hourly/ @$(INSTALL_SCRIPT) etc/cron.hourly/65-autoport $(DESTDIR)$(sysconfdir)/cron.hourly/ @$(INSTALL_SCRIPT) etc/cron.daily/40-autodist-cleanold $(DESTDIR)$(sysconfdir)/cron.daily/ - @$(INSTALL_SCRIPT) etc/cron.daily/40-autodist-upstream-updates $(DESTDIR)$(sysconfdir)/cron.daily/ @$(INSTALL_SCRIPT) etc/cron.daily/45-autodist-git-sync $(DESTDIR)$(sysconfdir)/cron.daily/ @$(INSTALL_SCRIPT) etc/logrotate.d/webbuild $(DESTDIR)$(sysconfdir)/logrotate.d/webbuild @$(INSTALL_DATA) autospec-conf $(DESTDIR)$(pck_statedir)/.autospec diff --git a/etc/cron.daily/40-autodist-upstream-updates b/etc/cron.daily/40-autodist-upstream-updates deleted file mode 100755 index 95f4a12..0000000 --- a/etc/cron.daily/40-autodist-upstream-updates +++ /dev/null @@ -1,20 +0,0 @@ -#!/bin/bash -# -# autodist-upstream-updates daily cron script -# (c) 2008-2014 by Silvan Calarco -# -. /etc/autodist/config -. /etc/sysconfig/autoport - -if [ ! "$AUTOPORT_UPDATE_NO_DISTROMATIC" ]; then - REPOSITORY=devel - /usr/sbin/autodist-upstream-updates -q -h -u -r $REPOSITORY > $LOCAL_REPS_BASE_DIR/distromatic/$REPOSITORY/_popular.html - - REPOSITORY=milestone1-1.1 - /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