Skip to content

Commit

Permalink
Fixed: Creation of plugin directory of it doesn't exist.
Browse files Browse the repository at this point in the history
  • Loading branch information
kabukky committed Apr 25, 2015
1 parent 32514a6 commit 495b51f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion filenames/filenames.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 495b51f

Please sign in to comment.