From d7ea7da070b47e0b76242b16c1c77c30493869c3 Mon Sep 17 00:00:00 2001 From: Alexey Berezhok Date: Mon, 29 Apr 2024 22:12:49 +0300 Subject: [PATCH] Added force flag --- install/hst-install-rhel.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install/hst-install-rhel.sh b/install/hst-install-rhel.sh index 06874a6..5babc2a 100755 --- a/install/hst-install-rhel.sh +++ b/install/hst-install-rhel.sh @@ -350,7 +350,7 @@ if [ "x$(id -u)" != 'x0' ]; then check_result 1 "Script can be run executed only by root" fi -if [ -d "/usr/local/hestia" ]; then +if [ -d "/usr/local/hestia" ] && [ "$force" = "no" ]; then check_result 1 "Hestia install detected. Unable to continue" fi