From 9ae1cd8f91aa6b53404e66588679d852d3972bcd Mon Sep 17 00:00:00 2001 From: Holger Weiss Date: Fri, 27 Sep 2013 23:10:53 +0200 Subject: tools: Remove Drupal/SourceForge scripts We moved our web site away from Drupal and the snapshots/guidelines away from SourceForge. The new infrastructure scripts will be maintained in a separate repository together with the Markdown source of the new web site. --- tools/sfwebcron | 35 ----------------------------------- 1 file changed, 35 deletions(-) delete mode 100755 tools/sfwebcron (limited to 'tools/sfwebcron') diff --git a/tools/sfwebcron b/tools/sfwebcron deleted file mode 100755 index 0f31fcfb..00000000 --- a/tools/sfwebcron +++ /dev/null @@ -1,35 +0,0 @@ -#! /bin/bash -# sfwebcron - -# To update the developers-guidelines.html and put in html area -# -# Install in cron with something like: -# 47 7 * * * $HOME/bin/sfwebcron >/tmp/sfwebcron.log 2>&1 || cat /tmp/sfwebcron.log - -set -eu -trap 'echo "Command failed at line $LINENO"' ERR - -# Set working variables -PROJECT=nagiosplug -IN=${HOME}/sfwebcron -PROBE="developer-guidelines.html.last" -OUT_SERVER="tonvoon@frs.sourceforge.net" -OUT_PATH="/home/groups/n/na/nagiosplug/htdocs" - -# Get latest dev guildelines -[[ ! -d $IN ]] && mkdir $IN -cd $IN -if [[ ! -d nagios-plugins ]] -then - git clone https://github.com/nagios-plugins/nagios-plugins.git nagios-plugins -fi -cd nagios-plugins/doc -git pull - -make -if [[ ! -e $PROBE || developer-guidelines.html -nt $PROBE ]] -then - rsync -av developer-guidelines.{html,sgml} $OUT_SERVER:$OUT_PATH/ - touch $PROBE -fi - -- cgit v1.2.3-74-g34f1