Skip to content

Commit dcc7c88

Browse files
committed
Based on pull request feedback: Simplify RHEL match case and fix indentation
Signed-off-by: kcaisley <[email protected]>
1 parent fc66018 commit dcc7c88

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

etc/DependencyInstaller.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -428,8 +428,8 @@ case "${platform}" in
428428
esac
429429

430430
case "${os}" in
431-
"CentOS Linux" | "Red Hat Enterprise Linux Server" | "AlmaLinux" | "Rocky Linux" | "Red Hat Enterprise Linux" )
432-
# Enterprise Linux support - dispatch based on version
431+
"CentOS Linux" | "Red Hat Enterprise Linux"* | "AlmaLinux" | "Rocky Linux")
432+
# Enterprise Linux support - dispatch based on specific version
433433
if [[ ${CI} == "yes" ]]; then
434434
echo "WARNING: Installing CI dependencies is only supported on Ubuntu 22.04" >&2
435435
fi
@@ -442,10 +442,10 @@ case "${os}" in
442442
exit 1
443443
fi
444444

445-
# First install OpenROAD base
445+
# First install OpenROAD base
446446
_installORDependencies
447447

448-
# Determine between EL7 vs EL8/9, since yum vs dnf should be used, and different Klayout builds exist
448+
# Determine between EL7 vs EL8/9, since yum vs dnf should be used, and different Klayout builds exist
449449
case "${elVersion}" in
450450
"7")
451451
# EL7 = RHEL 7 or CentOS 7

0 commit comments

Comments
 (0)