Updated the install.sh

This commit is contained in:
2024-02-16 00:40:55 +01:00
parent f7f8986863
commit e0a2b4d3df

View File

@ -18,6 +18,12 @@ function download() {
wget -q --show-progress -O "$2" "$1"
}
echo -e "${GREEN}Checking for root${NC}"
if [ "$EUID" -ne 0 ]; then
error "Please run as root"
fi
echo -e "${GREEN}Installing dependencies${NC}"
apt-get update