From eeb153ffb5fc43242ded36a01f51e7b8ccb442a4 Mon Sep 17 00:00:00 2001 From: Mike Gabriel Date: Wed, 24 Jan 2018 17:41:41 +0100 Subject: Adding locadm user: white-space fixes, coding style, no else clause. --- install-itzks-workstation | 7 +++---- 1 file 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 -- cgit v1.2.3