From 1a56acef14eb52fc1683066037d5a52ca21eefaa Mon Sep 17 00:00:00 2001 From: Matt Rude Date: Mon, 30 May 2011 02:03:12 -0500 Subject: update graphs to be local --- scripts/do-build-graphs | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'scripts') diff --git a/scripts/do-build-graphs b/scripts/do-build-graphs index 1b3b5de..5ac970d 100755 --- a/scripts/do-build-graphs +++ b/scripts/do-build-graphs @@ -5,6 +5,10 @@ RRDPAGE=/var/www/time.mattrude.com/rrd GRAPHS=/var/www/time.mattrude.com/graphs SCRIPTS=/var/www/time.mattrude.com/scripts +if [ ! -e $GRAPHS ]; then + mkdir -p $GRAPHS +fi + cd ${RRDPAGE} ${RRD_BIN}/rrdtool graph \ -- cgit v1.2.3-59-ga6da