Prepare next version of updating plugins

This commit is contained in:
Mateusz Trojak
2016-11-10 16:46:44 +01:00
committed by GitHub
parent fa1cd4d59e
commit 621499b59d
+4
View File
@@ -7,6 +7,10 @@
chown -R grafana:grafana "$GF_PATHS_DATA" "$GF_PATHS_LOGS"
chown -R grafana:grafana /etc/grafana
# This will be used in the future
#plugins=`grafana-cli plugins list-remote | awk '{print $2}'`
#for i in $plugins; do grafana-cli plugins install $i; done
if [ ! -z ${GF_INSTALL_PLUGINS} ]; then
OLDIFS=$IFS
IFS=','