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

scylla_post_install.sh: detect RHEL correctly #16041

Conversation

syuu1228
Copy link
Contributor

$ID_LIKE = "rhel" works only on RHEL compatible OSes, not for RHEL itself.
To detect RHEL correctly, we also need to check $ID = "rhel".

Fixes #16040

$ID_LIKE = "rhel" works only on RHEL compatible OSes, not for RHEL
itself.
To detect RHEL correctly, we also need to check $ID = "rhel".

Fixes scylladb#16040
@github-actions github-actions bot deleted a comment from aws-amplify-us-east-2 bot Nov 13, 2023
@scylladb-promoter
Copy link
Contributor

🟢 CI State: SUCCESS

✅ - Build
✅ - Sanity Tests
✅ - Unit Tests

Build Details:

Copy link
Contributor

@tchaikov tchaikov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

avikivity pushed a commit that referenced this pull request Nov 20, 2023
$ID_LIKE = "rhel" works only on RHEL compatible OSes, not for RHEL
itself.
To detect RHEL correctly, we also need to check $ID = "rhel".

Fixes #16040

Closes #16041

(cherry picked from commit 338a949)
avikivity pushed a commit that referenced this pull request Nov 20, 2023
$ID_LIKE = "rhel" works only on RHEL compatible OSes, not for RHEL
itself.
To detect RHEL correctly, we also need to check $ID = "rhel".

Fixes #16040

Closes #16041

(cherry picked from commit 338a949)
avikivity pushed a commit that referenced this pull request Nov 20, 2023
$ID_LIKE = "rhel" works only on RHEL compatible OSes, not for RHEL
itself.
To detect RHEL correctly, we also need to check $ID = "rhel".

Fixes #16040

Closes #16041

(cherry picked from commit 338a949)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

scylla_post_install.sh: "[ $RHEL ]" does not work for RHEL, it only detects CentOS
3 participants