Skip to content

Commit 2582645

Browse files
authored
Merge pull request #255 from markito3/rocky_changes
Rocky changes
2 parents 8ba1eac + 56f10ca commit 2582645

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

osrelease.pl

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,8 @@
106106
$release = '_SL5';
107107
} elsif ($release_string =~ /^Scientific Linux release 6.*/ ) {
108108
$release = '_SL6';
109+
} elsif ($release_string =~ /^Rocky Linux release 8.*/ ) {
110+
$release = '_Rocky8';
109111
} else {
110112
print STDERR "unrecognized Red Hat release\n";
111113
$release = '_RH';

python_chooser.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,9 @@ then
3737
then
3838
dist_name=RedHat
3939
elif grep -lq CentOS /etc/redhat-release
40+
then
41+
dist_name=CentOS
42+
elif grep -lq Rocky /etc/redhat-release
4043
then
4144
dist_name=CentOS
4245
else

0 commit comments

Comments
 (0)