arturo-lang / arturo

Simple, expressive & portable programming language for efficient scripting
http://arturo-lang.io
MIT License
675 stars 29 forks source link

Curl-fetched entrypoint (arturo.sh) not automatically executable #1279

Open Ryton opened 9 months ago

Ryton commented 9 months ago

Describe the bug When pulling and installing a nightly or stable arturo version through curl on linux, it is placed correctly in /home//.arturo/bin/ but it is not executable by default (chmod !=666)

This causes an error "arturo not found" when running $ arturo

To Reproduce Steps to reproduce the behavior:

  1. download nightly or stable "curl -sSL https://get.arturo-lang.io/latest | sh"
  2. run arturo
  3. See error

Expected behavior the installer should make arturo executable?

Desktop (please complete the following information):

Additional context Should be solveable by adding a "| chmod +x /home//.arturo/bin/arturo " into the onliner (untested)

github-actions[bot] commented 9 months ago

Thank you for submitting an issue! :)

drkameleon commented 9 months ago

I think your idea about chmoding the target binary makes sense.

The truth is this Curl-based script for installing Arturo were a nice, initial idea but in the end I haven't really fine-tuned them. I guess it's time I should! 😉

stale[bot] commented 1 month ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.