Does this even work on a Raspberry Zero !?

The script is actually a series of scripts, one for each part. The environment needed depends on what you install.

You can easily change the config.ini to not install what you want.

The scripts came from a desire to automate the shop process for building the image so it was repeatable and potentially work on other systems.

The primary route for probably 98% of folk is the emonSD image. It does what it needs.