Update install.sh

This commit is contained in:
Sefinek 2024-12-25 18:46:07 +01:00
parent 38116ff9f8
commit bd25f9d935

View file

@ -1,11 +1,5 @@
#!/usr/bin/env bash
# Ensure the script is run as root
if [ "$EUID" -ne 0 ]; then
echo "❌ This script must be run as root. Exiting..."
exit 1
fi
# Function to check and install missing dependencies
check_dependencies() {
local dependencies=(curl node git)