Changed text since we were contradicting ourselves

Don't run as root, but do run as root :)
This commit is contained in:
Henric Andersson 2016-11-28 20:10:24 -08:00
commit f2bcbd5a9d

View file

@ -255,7 +255,7 @@ save_config() {
if [ $EUID -ne 0 ]; then
echo
echo "This script needs to be run with root/sudo, but you are running as '$(whoami)'. Enabling sudo."
echo "This script needs to install files in system locations and will need to additional permissions (root) from you to continue."
sudo -v || abort "Root permissions are required for setup, cannot continue"
elif [ ! -z "$SUDO_USER" ]; then
echo