Skip to content

Commit c0c90ac

Browse files
authored
add centos support (#135)
1 parent 98856ab commit c0c90ac

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/install.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ install_system_packages() {
5252
# Check for sudo access
5353
if sudo -n true 2>/dev/null; then
5454
# Detect OS and install packages accordingly
55-
if [ -f /etc/fedora-release ]; then
55+
if [ -f /etc/fedora-release ] || [ -f /etc/centos-release ]; then
5656
log_info "Detected Fedora OS"
5757
sudo dnf install -y libibverbs rdma-core libmlx5 libibverbs-devel rdma-core-devel
5858
elif [ -f /etc/lsb-release ] || [ -f /etc/ubuntu-release ]; then

0 commit comments

Comments
 (0)