Browse code

spacing fixes

Jesse Andrews authored on 2011/10/04 12:10:55
Showing 1 changed files
... ...
@@ -49,16 +49,16 @@ fi
49 49
 # sudo privileges and runs as that user.
50 50
 
51 51
 if [[ $EUID -eq 0 ]]; then
52
-   echo "You are running this script as root."
52
+    echo "You are running this script as root."
53 53
 
54
-   # since this script runs as a normal user, we need to give that user
55
-   # ability to run sudo
56
-   apt-get update
57
-   apt-get install -y sudo
54
+    # since this script runs as a normal user, we need to give that user
55
+    # ability to run sudo
56
+    apt-get update
57
+    apt-get install -y sudo
58 58
 
59
-   if ! getent passwd | grep -q stack; then
60
-       echo "Creating a user called stack"
61
-       useradd -U -G sudo -s /bin/bash -m stack
59
+    if ! getent passwd | grep -q stack; then
60
+        echo "Creating a user called stack"
61
+        useradd -U -G sudo -s /bin/bash -m stack
62 62
     fi
63 63
     echo "Giving stack user passwordless sudo priviledges"
64 64
     echo "stack ALL=(ALL) NOPASSWD: ALL" >> /etc/sudoers