updated install script to check for commands

This commit is contained in:
2025-07-24 03:21:20 -05:00
parent 77cc53f450
commit d00f26a672
-2
View File
@@ -16,8 +16,6 @@ SERVICE_FILE="/etc/systemd/system/$SERVICE_NAME.service"
NODE_BIN="$(which node)" NODE_BIN="$(which node)"
RUN_USER="$(whoami)" # change if needed RUN_USER="$(whoami)" # change if needed
exit 0
# Backup if exists # Backup if exists
if [ -d "$INSTALL_DIR" ]; then if [ -d "$INSTALL_DIR" ]; then
echo "Sentryx already exists, backing up..." echo "Sentryx already exists, backing up..."