Create missing directory

refs #7241
This commit is contained in:
Gunnar Beutner 2014-10-22 22:02:31 +02:00
parent 58678df1d7
commit c2be28ee55
1 changed files with 1 additions and 0 deletions

View File

@ -251,6 +251,7 @@ namespace Icinga
FatalError("Icinga 2 does not seem to be installed properly.");
/* TODO: This is something the NSIS installer should do */
Directory.CreateDirectory(installDir + "\\etc\\icinga2\\pki");
Directory.CreateDirectory(installDir + "\\var\\cache\\icinga2");
Directory.CreateDirectory(installDir + "\\var\\lib\\icinga2\\pki");
Directory.CreateDirectory(installDir + "\\var\\lib\\icinga2\\agent\\inventory");