X-Git-Url: https://git.squeep.com/?a=blobdiff_plain;f=lib%2Fpleroma%2Ffrontend.ex;h=cc0b47077f7a82f1130543af579c0669ff58a9c9;hb=5b11543c96427ced093c28c38de0924a148424b7;hp=34b7befb86a1fdc2f8d851e29518fdb54b13f67a;hpb=f919035664cdd5c32d1c61881970f22542de5f3a;p=akkoma diff --git a/lib/pleroma/frontend.ex b/lib/pleroma/frontend.ex index 34b7befb8..cc0b47077 100644 --- a/lib/pleroma/frontend.ex +++ b/lib/pleroma/frontend.ex @@ -32,20 +32,20 @@ defmodule Pleroma.Frontend do label = "#{name} (#{ref})" tmp_dir = Path.join(dir(), "tmp") - + IO.puts("Downloading #{label}...") with {_, :ok} <- {:download_or_unzip, download_or_unzip(frontend_info, tmp_dir, opts[:file])}, - Logger.info("Installing #{label} to #{dest}"), + IO.puts("Installing #{label} to #{dest}"), :ok <- install_frontend(frontend_info, tmp_dir, dest) do File.rm_rf!(tmp_dir) - Logger.info("Frontend #{label} installed to #{dest}") + IO.puts("Frontend #{label} installed to #{dest}") else {:download_or_unzip, _} -> - Logger.info("Could not download or unzip the frontend") + IO.puts("Could not download or unzip the frontend") {:error, "Could not download or unzip the frontend"} _e -> - Logger.info("Could not install the frontend") + IO.puts("Could not install the frontend") {:error, "Could not install the frontend"} end end