Skip to content

Commit

Permalink
Merge pull request #255 from markito3/rocky_changes
Browse files Browse the repository at this point in the history
Rocky changes
  • Loading branch information
markito3 authored Dec 18, 2022
2 parents 8ba1eac + 56f10ca commit 2582645
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
2 changes: 2 additions & 0 deletions osrelease.pl
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,8 @@
$release = '_SL5';
} elsif ($release_string =~ /^Scientific Linux release 6.*/ ) {
$release = '_SL6';
} elsif ($release_string =~ /^Rocky Linux release 8.*/ ) {
$release = '_Rocky8';
} else {
print STDERR "unrecognized Red Hat release\n";
$release = '_RH';
Expand Down
3 changes: 3 additions & 0 deletions python_chooser.sh
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,9 @@ then
then
dist_name=RedHat
elif grep -lq CentOS /etc/redhat-release
then
dist_name=CentOS
elif grep -lq Rocky /etc/redhat-release
then
dist_name=CentOS
else
Expand Down

0 comments on commit 2582645

Please sign in to comment.