From 17b2dae5824a423dcb0f95fd785e52061288e87b Mon Sep 17 00:00:00 2001 From: Jimmy Monin Date: Thu, 3 Aug 2017 10:52:47 +0200 Subject: [PATCH] Fix install when grafana had been previously installed --- scripts/install | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/install b/scripts/install index 35efe68..bd57f5a 100644 --- a/scripts/install +++ b/scripts/install @@ -108,7 +108,7 @@ sudo sed -i "/^\[database\]$/,/^\[/ { s/;type = .*/type = mysql/ s/;name = .*/name = $dbname/ s/;user = .*/user = $dbuser/ - s/;password =.*/password = $dbpass/ + s/;\?password =.*/password = $dbpass/ }" $grafana_conf # Restart grafana server