Merge pull request 'Fix fs error while unpacking frontends' (#839) from tudbut/akkomafixes:frontends into develop

Reviewed-on: https://akkoma.dev/AkkomaGang/akkoma/pulls/839
This commit is contained in:
floatingghost 2024-10-26 03:58:40 +00:00
commit 98a3dab10a

View file

@ -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!()