From 9eea39db23ebd10eb8c171f64c233038bb4ecfe9 Mon Sep 17 00:00:00 2001 From: Alexey Berezhok Date: Sun, 27 Apr 2025 23:32:25 +0300 Subject: [PATCH] Force fix --- install/hst-install-rhel.sh | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/install/hst-install-rhel.sh b/install/hst-install-rhel.sh index 44d611d..08007b0 100755 --- a/install/hst-install-rhel.sh +++ b/install/hst-install-rhel.sh @@ -304,7 +304,7 @@ done eval set -- "$args" # Parsing arguments -while getopts "u:I:a:w:v:j:k:m:M:g:d:x:z:Z:c:C:t:i:b:r:o:q:l:y:s:e:p:R:fh" Option; do +while getopts "u:I:a:w:v:j:k:m:M:g:d:x:z:Z:c:C:t:i:b:r:o:q:l:y:s:e:p:R:f:h" Option; do case $Option in a) apache=$OPTARG ;; # Apache w) phpfpm=$OPTARG ;; # PHP-FPM @@ -335,7 +335,7 @@ while getopts "u:I:a:w:v:j:k:m:M:g:d:x:z:Z:c:C:t:i:b:r:o:q:l:y:s:e:p:R:fh" Optio e) email=$OPTARG ;; # Admin email p) vpass=$OPTARG ;; # Admin password R) withrpms=$OPTARG ;; # Hestia rpms path - f) force='yes' ;; # Force install + f) force=$OPTARG ;; # Force install h) help ;; # Help I) nopublicip=$OPTARG ;; # NoPublicIP u) uselocalphp=$OPTARG ;; # UseLocalPHP @@ -377,6 +377,10 @@ set_default_port '8083' set_default_lang 'en' set_default_value 'uselocalphp' 'no' +if [ "$force" != "yes" ]; then + force="no" +fi + # Checking software conflicts if [ "$proftpd" = 'yes' ]; then vsftpd='no'