diff options
author | Matt Rude <[email protected]> | 2011-05-30 02:03:12 -0500 |
---|---|---|
committer | Matt Rude <[email protected]> | 2011-05-30 02:03:12 -0500 |
commit | 1a56acef14eb52fc1683066037d5a52ca21eefaa (patch) | |
tree | 732b79adb154e2d0bb88bdb6c2e0e9e2d80b48b2 | |
parent | c43aad852ba8d0560790cace5124a62ae0352e61 (diff) | |
download | time.mattrude.com-1a56acef14eb52fc1683066037d5a52ca21eefaa.tar.gz time.mattrude.com-1a56acef14eb52fc1683066037d5a52ca21eefaa.tar.bz2 time.mattrude.com-1a56acef14eb52fc1683066037d5a52ca21eefaa.zip |
update graphs to be local
-rwxr-xr-x | scripts/do-build-graphs | 4 |
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 \ |