tarides / ocaml-platform-installer

The best way for developers to write software in OCaml
ISC License
60 stars 8 forks source link

Avoid installing to /usr/local if it doesn't exist #144

Closed Julow closed 1 year ago

Julow commented 1 year ago

Fix https://github.com/tarides/ocaml-platform-installer/issues/141

Install the binary into /usr/local/bin only if it exists, otherwise install into /usr/bin. The current 'install' command would install the platform binary as /usr/local/bin literally, which is highly unwanted.