Added fixes

This commit is contained in:
Alexey Berezhok
2024-05-03 17:39:52 +03:00
parent 3e1db6e3f5
commit c1e7097201
3 changed files with 21 additions and 3 deletions

View File

@@ -26,6 +26,12 @@ nodejs_ver="20"
# Perform verification if read-only mode is enabled
check_hestia_demo_mode
#TODO
#Temporary disable for RPM
if [ -f /etc/redhat-release ]; then
exit 0
fi
# Detect and install NodeJS if necessary
if [ -z $(which "node") ]; then
read -p "NodeJS not found. Install now to proceed? [Y/n] " answer