Skip to content

Fix frontend install mix task bug

Sean King requested to merge seanking/pleroma:fix_install_fe_bug into develop

This MR fixes the install mix task. When updating a frontend bundle using the mix install task, it's supposed to remove and remake the current destination of the frontend bundle before putting the new files in. But it didn't. This fixes that in two ways:

  • Prevents possible conflicts with removing the destination folder by moving the tmp directory up to the frontends subdirectory under the instance_static_dir.
  • Removing the destination folder before remaking it.
Edited by Sean King

Merge request reports