diff options
Diffstat (limited to 'install-itzks-workstation')
-rwxr-xr-x | install-itzks-workstation | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/install-itzks-workstation b/install-itzks-workstation index 4e58c21..795c4b7 100755 --- a/install-itzks-workstation +++ b/install-itzks-workstation @@ -1,6 +1,15 @@ #!/bin/bash # script for installing a Debian Edu Workstation with ITZkS modifications +if [ "x$(id -u)" != "x0" ]; then + echo + echo "##########################" + echo "$(basename $0): This script needs to be run as super-user 'root'." + echo "##########################" + echo + exit 1 +fi + # abort if any of the subprocesses returns non-zero exit code set -e |