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

Install script fails if wget is not available #48

erikwilson opened this Issue Feb 26, 2019 · 0 comments


None yet
3 participants
Copy link

erikwilson commented Feb 26, 2019

Even though we don't use wget we test for its existence, and which wget returns a non-zero exit code which causes the script to silently fail.

root@1ed0ad1de566:/# curl -sfL | sh -
[INFO]  Creating uninstall script /usr/local/bin/
[INFO]  Downloading
[INFO]  Downloading
[INFO]  Verifying download
[INFO]  Installing k3s to /usr/local/bin/k3s
[INFO]  systemd: Creating /etc/systemd/system/k3s.service
[INFO]  systemd: Enabling k3s unit
[INFO]  systemd: Starting k3s
root@1ed0ad1de566:/# rm /bin/wget
root@1ed0ad1de566:/# curl -sfL | sh -
[INFO]  Creating uninstall script /usr/local/bin/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.