summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--install-itzks-workstation7
1 files changed, 3 insertions, 4 deletions
diff --git a/install-itzks-workstation b/install-itzks-workstation
index 04f0739..9b89d2e 100644
--- a/install-itzks-workstation
+++ b/install-itzks-workstation
@@ -3,11 +3,10 @@
set -e
-# Alternate script: Only add user locadm if not already there
-if [ -z $"(getent passwd locadm)" ];
- then
+# Add user locadm if not already there
+if [ -z $"(getent passwd locadm)" ]; then
:
- else
+else
adduser --gecos "Local Administrator" locadm
adduser locadm sudo
fi