mirror of
https://akkoma.dev/AkkomaGang/akkoma.git
synced 2024-12-22 17:27:18 +00:00
fix fs error while unpacking frontends
This commit is contained in:
parent
f101886709
commit
8b5aca9619
|
@ -79,6 +79,10 @@ defmodule Pleroma.Frontend do
|
|||
|
||||
new_file_path = Path.join(dest, path)
|
||||
|
||||
new_file_path
|
||||
|> Path.dirname()
|
||||
|> File.rm()
|
||||
|
||||
new_file_path
|
||||
|> Path.dirname()
|
||||
|> File.mkdir_p!()
|
||||
|
|
Loading…
Reference in a new issue