aboutsummaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorMatt Rude <[email protected]>2011-05-30 02:03:12 -0500
committerMatt Rude <[email protected]>2011-05-30 02:03:12 -0500
commit1a56acef14eb52fc1683066037d5a52ca21eefaa (patch)
tree732b79adb154e2d0bb88bdb6c2e0e9e2d80b48b2 /scripts
parentc43aad852ba8d0560790cace5124a62ae0352e61 (diff)
downloadtime.mattrude.com-1a56acef14eb52fc1683066037d5a52ca21eefaa.tar.gz
time.mattrude.com-1a56acef14eb52fc1683066037d5a52ca21eefaa.tar.bz2
time.mattrude.com-1a56acef14eb52fc1683066037d5a52ca21eefaa.zip
update graphs to be local
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/do-build-graphs4
1 files changed, 4 insertions, 0 deletions
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 \