gnarlin / osget

Operating system image (.iso files usually) downloader which acts more like a package manager
GNU General Public License v3.0
41 stars 6 forks source link

Is macOS supported? #21

Open dardo82 opened 1 year ago

dardo82 commented 1 year ago

The install script doesn’t work because root is not a valid group, it should be wheel instead. sed -i '' 's/:root/:wheel/' install.sh

gnarlin commented 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.

dardo82 commented 1 year ago

Use numeric user and group IDs for a general solution. sed -i '' 's/root:root/0:0/' install.sh

dardo82 commented 1 year ago

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

dardo82 commented 1 year ago

macOS install is easy to fix,but there are other issues.

Which ones?