Update gravity.sh

pull/220/head
Leo 9 years ago
parent 1349f584be
commit 8b18fdd322

@ -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

Loading…
Cancel
Save