Explorar o código

Update vst-install-rhel.sh

I only tried to fix bug #1933
NIKTONIKTO717 %!s(int64=6) %!d(string=hai) anos
pai
achega
949c011321
Modificáronse 1 ficheiros con 3 adicións e 3 borrados
  1. 3 3
      install/vst-install-rhel.sh

+ 3 - 3
install/vst-install-rhel.sh

@@ -338,7 +338,7 @@ fi
 
 # Database stack
 if [ "$mysql" = 'yes' ]; then
-    if [ $release -ge 7 ]; then
+    if [ $release -ge '7' ]; then
         echo '   - MariaDB Database Server'
     else
         echo '   - MySQL Database Server'
@@ -875,7 +875,7 @@ if [ "$nginx" = 'yes' ]; then
     cp -f $vestacp/logrotate/nginx /etc/logrotate.d/
     echo > /etc/nginx/conf.d/vesta.conf
     mkdir -p /var/log/nginx/domains
-    if [ "$release" -ge 7 ]; then
+    if [ "$release" -ge '7' ]; then
         mkdir -p /etc/systemd/system/nginx.service.d
         cd /etc/systemd/system/nginx.service.d
         echo "[Service]" > limits.conf
@@ -920,7 +920,7 @@ if [ "$apache" = 'yes'  ]; then
     chmod a+x /var/log/httpd
     mkdir -p /var/log/httpd/domains
     chmod 751 /var/log/httpd/domains
-    if [ "$release" -ge 7 ]; then
+    if [ "$release" -ge '7' ]; then
         mkdir -p /etc/systemd/system/httpd.service.d
         cd /etc/systemd/system/httpd.service.d
         echo "[Service]" > limits.conf