projects
/
akkoma
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1547a2f
)
fix format
author
Alibek Omarov
<a1ba.omarov@gmail.com>
Thu, 28 Jan 2021 10:20:25 +0000
(10:20 +0000)
committer
Alibek Omarov
<a1ba.omarov@gmail.com>
Thu, 28 Jan 2021 10:20:25 +0000
(10:20 +0000)
lib/mix/tasks/pleroma/instance.ex
patch
|
blob
|
history
diff --git
a/lib/mix/tasks/pleroma/instance.ex
b/lib/mix/tasks/pleroma/instance.ex
index ffe580fa79ffa2f284c22bba3f3cac3e7d08e2cd..da27a99d0e7b4efc0be49c35fb7fe23a38ab477d 100644
(file)
--- a/
lib/mix/tasks/pleroma/instance.ex
+++ b/
lib/mix/tasks/pleroma/instance.ex
@@
-244,7
+244,7
@@
defmodule Mix.Tasks.Pleroma.Instance do
config_dir = Path.dirname(config_path)
psql_dir = Path.dirname(psql_path)
-
+
[config_dir, psql_dir, static_dir, uploads_dir]
|> Enum.reject(&File.exists?/1)
|> Enum.map(&File.mkdir_p!/1)