Added force flag

devel
Alexey Berezhok 12 months ago
parent 8bcf0d1d01
commit d7ea7da070

@ -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

Loading…
Cancel
Save