I mean the problem is currently the install script is simply broken, wenn you chose a custom install path, it shouldn't just overwrite the global fpc config path.
So if the relative config path is not fully supported, the install script could do something like if the default global install path is chosen (/, /usr, /usr/local) the default fpc config prefix is the global prefix (/etc). If the user chooses a different prefix, the relative etc path is chosen (like in the MR I did).
BUT in any case, the user should be asked what path the configs should be generated into. And in case it is not fully supported on the target platform it may issue a warning.
Because the main system where it is used is probably Linux where it does work. So having it broken for all systems where it does work, including Linux, just because on some systems it doesn't seems like a bad tradeoff.
I'm also willing to make these changes in the bash script myself in the merge request, I just need to know what the requirements are