Commit 4adb96ff authored by Carlos Torres's avatar Carlos Torres
Browse files

Revert "Minor change in grok_exporter."

This reverts commit 16350642
parent 16350642
......@@ -13,7 +13,7 @@ FOLDERSUPERVISOR="/supervisor"
for INSTALLDIR in $INSTALLDIRS
do
if ! grep -Fq "$INSTALLDIR$FILESUPERVISORDALL" "$FILE"; then
if [ -d "$INSTALLDIR$FOLDERSUPERVISOR" ]; then
if [ -f "$INSTALLDIR$FOLDERSUPERVISOR" ]; then
sed -i -e '/#to-add-entries/r '$INSTALLERS_DIR'/data/grok_exporter_single_conf.txt' $FILE
sed -i '/#to-add-paths/ a \ \-\ \'$INSTALLDIR$FILESUPERVISORDALL $FILE
else
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment