From 019f7f14c58ff3884bf30b5bfa504a2919056857 Mon Sep 17 00:00:00 2001 From: Guillaume Bougard Date: Tue, 2 Jul 2019 14:51:51 +0200 Subject: [PATCH] Install all HTTP server plugins default configurations --- NSIS/FusionInventory-Agent/Include/MiscFunc.nsh | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/NSIS/FusionInventory-Agent/Include/MiscFunc.nsh b/NSIS/FusionInventory-Agent/Include/MiscFunc.nsh index 4eb2484..29a1d6b 100644 --- a/NSIS/FusionInventory-Agent/Include/MiscFunc.nsh +++ b/NSIS/FusionInventory-Agent/Include/MiscFunc.nsh @@ -183,12 +183,10 @@ nsExec::Exec '"$PLUGINSDIR\sed.exe" -i -e "s/$$/\r/" "$R0\docs\releases\installer-readme.txt"' Delete "$R0\docs\releases\sed*" - ; Install $R0\etc + ; Install $R0\etc with all default HTTP server plugin configurations SetOutPath "$R0\etc\" File /oname=agent.cfg.sample "${FIA_DIR}\etc\agent.cfg" - File /oname=inventory-server-plugin.cfg "${FIA_DIR}\etc\inventory-server-plugin.cfg" - File /oname=server-test-plugin.cfg.sample "${FIA_DIR}\etc\server-test-plugin.cfg" - File /oname=ssl-server-plugin.cfg "${FIA_DIR}\etc\ssl-server-plugin.cfg" + File "${FIA_DIR}\etc\*-plugin.cfg" ; Install $R0\perl\agent\FusionInventory\Agent.pm SetOutPath "$R0\perl\agent\FusionInventory"