Updated the install.sh
This commit is contained in:
parent
f7f8986863
commit
e0a2b4d3df
@ -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
|
||||
|
Reference in New Issue
Block a user