Developer and sysadmin based in Austria.
Thanks for the report.
I believe what's happening here is that the following doesn't give you an absolute path under macOS:script_path=$(readlink -f "$0") repository_path=$(dirname "$script_path")
It's probably because of the reasoning you can find stated here:
readlinkisn't POSIX and apparently the solution relies on GNU's
readlinkwhere BSD's won't work for some reason
macOS is based on BSD, so this is likely true for it as well.
I've just pushed a commit that should fix this. Please let me know if this works for you, as I don't have a macOS system here to test this on.
I recommend trying with a fresh copy of the repository because the
00-create-or-reset-config-files.shwill probably have written the config files to the wrong locations (since that also used the aforementioned script to determine the path of the repository).