1
0
mirror of https://github.com/pi-hole/pi-hole synced 2024-11-19 06:38:17 +00:00

Update gravity.sh

This commit is contained in:
Leo 2016-01-21 17:19:09 -05:00
parent 1349f584be
commit 8b18fdd322

View File

@ -14,13 +14,13 @@
if [[ $EUID -eq 0 ]];then
echo "You are root."
else
echo "::: sudo will be used for the install."
echo "::: sudo will be used."
# Check if it is actually installed
# If it isn't, exit because the install cannot complete
if [[ $(dpkg-query -s sudo) ]];then
export SUDO="sudo"
else
echo "::: Please install sudo or run this as root."
echo "::: Please install sudo or run this script as root."
exit 1
fi
fi