From 71cfda80ce7cd872705a0abe17dd973a54ee448b Mon Sep 17 00:00:00 2001 From: Mike Gabriel Date: Wed, 24 Jan 2018 17:31:38 +0100 Subject: Always run script with -e bash option. We want to fail if things fail. --- install-itzks-workstation | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'install-itzks-workstation') diff --git a/install-itzks-workstation b/install-itzks-workstation index 040f42c..04f0739 100644 --- a/install-itzks-workstation +++ b/install-itzks-workstation @@ -1,9 +1,7 @@ #!/bin/bash # script for installing a Debian Edu Workstation with ITZkS modifications -# Add user locadm as "local adminstrator" and add this user to sudoer-group -# adduser --gecos "Local Administrator" locadm -# adduser locadm sudo +set -e # Alternate script: Only add user locadm if not already there if [ -z $"(getent passwd locadm)" ]; -- cgit v1.2.3