Update install.sh
This commit is contained in:
1 parent
38116ff9f8
commit
bd25f9d935
1 file changed
-6
@@ -1,11 +1,5 @@
|
|||||||
#!/usr/bin/env bash
|
#!/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
|
# Function to check and install missing dependencies
|
||||||
check_dependencies() {
|
check_dependencies() {
|
||||||
local dependencies=(curl node git)
|
local dependencies=(curl node git)
|
||||||
|
|||||||
Reference in new issue
Block a user