Open dardo82 opened 1 year ago
Hmm. I haven't tested on MacOS, but I do want osget to work on both MacOS and BSD distributions. The install script is rather rickety. Fixing it for MacOS just so that it works is probably rather trivial, but there are bigger problems.
I'll find some time, maybe next weekend to set up some virtual machines to test with. I use some bash features that aren't available in the ancient version of bash that MacOS uses. That could be fixed by somehow upgrading the version of bash in MacOS but I don't like that solution. Anyway, this is definitely something I want to eventually fix.
Use numeric user and group IDs for a general solution.
sed -i '' 's/root:root/0:0/' install.sh
I use some bash features that aren't available in the old version of bash that macOS uses...
But macOS default shell is ZSH since High Sierra...
https://support.apple.com/guide/terminal/change-the-default-shell-in-terminal-trml113/2.8/mac/10.13
macOS install is easy to fix,but there are other issues.
Which ones?
The install script doesn’t work because
root
is not a valid group, it should bewheel
instead.sed -i '' 's/:root/:wheel/' install.sh