Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] Installer not letting the user answer the questions #456

Closed
llagerlof opened this issue Sep 4, 2024 · 6 comments · Fixed by #457
Closed

[BUG] Installer not letting the user answer the questions #456

llagerlof opened this issue Sep 4, 2024 · 6 comments · Fixed by #457
Labels
bug Something isn't working

Comments

@llagerlof
Copy link

Describe the bug

0.3.5-alpha

When I run the installation script it doesn't wait for my input:

curl -s "https://raw.githubusercontent.com/Ph0enixKM/AmberNative/master/setup/install.sh" | /bin/bash

The output:

[user@pc ~]$ curl -s "https://raw.githubusercontent.com/Ph0enixKM/AmberNative/master/setup/install.sh" | /bin/bash

Installing Amber... 🚀
[sudo] password for user:
Would you like to help improve Amber by sharing your OS info with our developer database? Enter your GitHub nickname (or any nickname) or type `no`:Amber has been installed successfully. 🎉
> Now you can use amber by typing `amber` in your terminal.
[user@pc ~]$ 

To Reproduce

See above.

Expected behavior

It should wait for my answer.

Additional context

Amber is installed successfully.

I am using bash on EndeavourOS as a normal user.

@llagerlof llagerlof added the bug Something isn't working label Sep 4, 2024
@Mte90 Mte90 closed this as completed in #457 Sep 5, 2024
@Mte90
Copy link
Member

Mte90 commented Sep 5, 2024

Recompiled the installer and now works.

@llagerlof
Copy link
Author

Recompiled the installer and now works.

It doesn't work for me (commit 72ed1e83d0062d5c665917ee7539a85585afe993).

I uninstalled running the uninstall script and installed again using the install script:

[user@pc ~]$ curl -s "https://raw.githubusercontent.com/Ph0enixKM/AmberNative/master/setup/install.sh" | /bin/bash

Installing Amber... 🚀
Would you like to help improve Amber by sharing your OS info with our developer database? Enter your GitHub nickname (or any nickname) or type `no`:Amber has been installed successfully. 🎉
> Now you can use amber by typing `amber` in your terminal.
[user@pc ~]$ |

@Mte90
Copy link
Member

Mte90 commented Sep 9, 2024

You are right, when I tested the other day it was working but it isn't.
I will investigate it.

@Mte90 Mte90 reopened this Sep 9, 2024
@Mte90
Copy link
Member

Mte90 commented Sep 9, 2024

So I am trying and I think that is a curl issue.
If you download the script and execute it there are no issue but happens only with the online version.

@Mte90
Copy link
Member

Mte90 commented Sep 9, 2024

@llagerlof can you try:

bash <(curl -s "https://raw.githubusercontent.com/amber-lang/amber/master/setup/install.sh")

In my tests this one works.

@llagerlof
Copy link
Author

llagerlof commented Sep 9, 2024

bash <(curl -s "https://raw.githubusercontent.com/amber-lang/amber/master/setup/install.sh")

This worked.

@Mte90 Mte90 closed this as completed Sep 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants