Make scripts more portable

heyarne requested to merge heyarne/funkwhale:bugfix/post-install into develop

I noticed that the postinstall script failed when trying to set a development environment for the frontend. Other scripts failed as well when trying to run them, relying on yarn bin to find executables in node_modules.

This merge request tries to fix this by

  1. not relying on yarn to be globally installed, at the price of some duplication in the package.json
  2. changing the bash shebang line in the script to not rely on bash being installed in /bin (see
Edited by heyarne

Merge request reports