From 495b51f7a89b8041bee38299115d673efa2172a3 Mon Sep 17 00:00:00 2001 From: Kai H Date: Sat, 25 Apr 2015 16:30:42 +0200 Subject: [PATCH] Fixed: Creation of plugin directory of it doesn't exist. --- filenames/filenames.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/filenames/filenames.go b/filenames/filenames.go index 4fa7d1f8..43cad598 100644 --- a/filenames/filenames.go +++ b/filenames/filenames.go @@ -52,7 +52,7 @@ func init() { } func createDirectories() error { - paths := []string{filepath.Join(flags.CustomPath, "content", "data"), filepath.Join(flags.CustomPath, "content", "themes"), filepath.Join(flags.CustomPath, "content", "images"), filepath.Join(flags.CustomPath, "content", "https")} + paths := []string{filepath.Join(flags.CustomPath, "content", "data"), filepath.Join(flags.CustomPath, "content", "themes"), filepath.Join(flags.CustomPath, "content", "images"), filepath.Join(flags.CustomPath, "content", "https"), filepath.Join(flags.CustomPath, "content", "plugins")} for _, path := range paths { if _, err := os.Stat(path); os.IsNotExist(err) { log.Println("Creating " + path)