Skip to content

Commit 89c7f8b

Browse files
author
Cloud User
committed
update setup scripts to accept RHEL/CENTOS 7.6
1 parent f13b401 commit 89c7f8b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/runtime_src/tools/scripts/setup.csh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ if ( "$OSDIST" =~ "ubuntu" ) then
3939
endif
4040

4141
if ( "$OSDIST" =~ centos || "$OSDIST" =~ redhat* ) then
42-
if ( "$OSREL" !~ 7.4* && "$OSREL" !~ 7.5* ) then
42+
if ( "$OSREL" !~ 7.4* && "$OSREL" !~ 7.5* && "$OSREL" !~ 7.6* ) then
4343
echo "ERROR: Centos or RHEL release version must be 7.4 or later"
4444
exit 1
4545
endif

src/runtime_src/tools/scripts/setup.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ if [[ $OSDIST == "ubuntu" ]]; then
1515
fi
1616

1717
if [[ $OSDIST == "centos" ]] || [[ $OSDIST == "redhat"* ]]; then
18-
if [[ $OSREL != "7.4"* ]] && [[ $OSREL != "7.5"* ]]; then
18+
if [[ $OSREL != "7.4"* ]] && [[ $OSREL != "7.5"* ]] && [[ $OSREL != "7.6"* ]]; then
1919
echo "ERROR: Centos or RHEL release version must be 7.4 or later"
2020
return 1
2121
fi

0 commit comments

Comments
 (0)