From 0031df019d415c674d1bb8c0bf948e2eee060e21 Mon Sep 17 00:00:00 2001 From: Jesse Andrews Date: Mon, 3 Oct 2011 23:10:55 -0400 Subject: [PATCH] spacing fixes --- stack.sh | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/stack.sh b/stack.sh index c7d6020..3d73ef3 100755 --- a/stack.sh +++ b/stack.sh @@ -49,16 +49,16 @@ fi # sudo privileges and runs as that user. if [[ $EUID -eq 0 ]]; then - echo "You are running this script as root." + echo "You are running this script as root." - # since this script runs as a normal user, we need to give that user - # ability to run sudo - apt-get update - apt-get install -y sudo + # since this script runs as a normal user, we need to give that user + # ability to run sudo + apt-get update + apt-get install -y sudo - if ! getent passwd | grep -q stack; then - echo "Creating a user called stack" - useradd -U -G sudo -s /bin/bash -m stack + if ! getent passwd | grep -q stack; then + echo "Creating a user called stack" + useradd -U -G sudo -s /bin/bash -m stack fi echo "Giving stack user passwordless sudo priviledges" echo "stack ALL=(ALL) NOPASSWD: ALL" >> /etc/sudoers