Various updates; Add logAxis patch for graphite; Add namespaces to summary scripts.
[myops.git] / web / collect / client / update.sh
index 59298b1..29a51fe 100644 (file)
@@ -23,8 +23,8 @@ else
     CURL_ARGS=""
 fi
 
-if [ -f /usr/boot/cacert.pem ] ; then
-       CURL_ARGS="$CURL_ARGS --cacert /usr/boot/cacert.pem"
+if [ -f /usr/boot/myops_cacert.pem ] ; then
+       CURL_ARGS="$CURL_ARGS --cacert /usr/boot/myops_cacert.pem"
 else
        CURL_ARGS="$CURL_ARGS --insecure"
 fi
@@ -43,6 +43,6 @@ if [[ $mod_time_after -gt $mod_time_before ]] ; then
     tar -xzf $FILE
     chmod 755 ./*.sh ./*.py
     ./bootstrap.sh || exit 1
-       touch $HDIR/update_ok
+    touch $HDIR/update_ok
 fi