git://git.onelab.eu
/
myops.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Various updates; Add logAxis patch for graphite; Add namespaces to summary scripts.
[myops.git]
/
web
/
collect
/
client
/
update.sh
diff --git
a/web/collect/client/update.sh
b/web/collect/client/update.sh
index
59298b1
..
29a51fe
100644
(file)
--- a/
web/collect/client/update.sh
+++ b/
web/collect/client/update.sh
@@
-23,8
+23,8
@@
else
CURL_ARGS=""
fi
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
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
tar -xzf $FILE
chmod 755 ./*.sh ./*.py
./bootstrap.sh || exit 1
-
touch $HDIR/update_ok
+ touch $HDIR/update_ok
fi
fi