From 5a6e14ef9fefc44a84c30b89e9fbf48da35b6866 Mon Sep 17 00:00:00 2001 From: Tommy Date: Fri, 26 Jul 2024 07:47:43 -0700 Subject: [PATCH] Fix SC2046 for RHEL-9-LEMP.sh Signed-off-by: Tommy --- sample-scripts/RHEL-9-LEMP.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sample-scripts/RHEL-9-LEMP.sh b/sample-scripts/RHEL-9-LEMP.sh index 15c797f..ea2131c 100644 --- a/sample-scripts/RHEL-9-LEMP.sh +++ b/sample-scripts/RHEL-9-LEMP.sh @@ -30,7 +30,7 @@ unpriv(){ sudo dnf remove hardened_malloc # Install NGINX -unpriv curl -s https://raw.githubusercontent.com/TommyTran732/Linux-Setup-Scripts/main/etc/yum.repos.d/nginx.repo | sudo tee /etc/yum.repos.d/nginx.repo +unpriv curl -s https://raw.githubusercontent.com/TommyTran732/Linux-Setup-Scripts/main/etc/yum.repos.d/nginx.repo | sudo tee /etc/yum.repos.d/nginx.repo > /dev/null sudo chmod 644 /etc/yum.repos.d/nginx.repo sudo dnf install -y nginx @@ -38,7 +38,7 @@ sudo dnf install -y nginx sudo dnf install -y certbot # Install PHP -sudo subscription-manager repos --enable codeready-builder-for-rhel-9-$(arch)-rpms +sudo subscription-manager repos --enable "codeready-builder-for-rhel-9-$(arch)-rpms" sudo dnf install -y https://dl.fedoraproject.org/pub/epel/epel-release-latest-9.noarch.rpm sudo dnf install -y https://rpms.remirepo.net/enterprise/remi-release-9.rpm sudo dnf module install -y php:remi-8.3/common @@ -49,4 +49,4 @@ unpriv curl -LsS https://r.mariadb.com/downloads/mariadb_repo_setup | sudo bash sudo dnf install -y MariaDB-server # Run NGINX Setup script -unpriv curl -LsS https://raw.githubusercontent.com/TommyTran732/NGINX-Configs/main/setup.sh | sudo bash \ No newline at end of file +unpriv curl -LsS https://raw.githubusercontent.com/TommyTran732/NGINX-Configs/main/setup.sh | sudo bash