-
Notifications
You must be signed in to change notification settings - Fork 5.8k
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 uses standalone for Amazon Linux instead of rpm #2343
Comments
We use the `OS` environment variable and /etc/os-release to determine
which method to use, what does Amazon Linux 2 have for those?
Or maybe we should base it off whether the `rpm` command is available
instead of the OS.
|
It seems that the OS environment variable isn’t set in Amazon Linux 2. I notice also the script looks at Example
|
Thank you! We'll modify the script to check `ID_LIKE` in addition to
`ID`.
|
Planning to move all the distros over to
|
Whoops too trigger happy, will close after #2423 is merged. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The install script picks the standalone version instead of the rpm based version when installing on an Amazon Linux 2 ec2 instance. I manually had to use rpm to install, which is included in Amazon Linux 2. The script should also use rpm so that the systemctl service is installed as well
Running:
curl -fsSL https://code-server.dev/install.sh | sh -s -- --dry-run
gives the following outputThe text was updated successfully, but these errors were encountered: