Update install.sh
This commit is contained in:
parent
38116ff9f8
commit
bd25f9d935
1 changed files with 0 additions and 6 deletions
|
|
@ -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)
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue