summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--install-itzks-workstation7
1 files changed, 5 insertions, 2 deletions
diff --git a/install-itzks-workstation b/install-itzks-workstation
index 77ba033..edeff11 100644
--- a/install-itzks-workstation
+++ b/install-itzks-workstation
@@ -1,6 +1,9 @@
#!/bin/bash
# script for installing a Debian Edu Workstation with ITZkS modifications
+set -e
+set -x
+
# Add user locadm as "local adminstrator" and add this user to sudoer-group
adduser --gecos "Local Administrator" locadm
adduser locadm sudo
@@ -20,8 +23,8 @@ invoke-rc.d fetch-ldap-cert start
# Add itzks-package repo
touch /etc/apt/sources.list.d/itzks.list
-echo "deb http://packages.it-zukunft-schule.de/debian jessie main contrib non-free" >> /etc/apt/sources-list.d/itzks.list
-echo "deb http://packages.it-zukunft-schule.de/debian jessie-backports main contrib non-free" >> /etc/apt/sources-list.d/itzks.listapt-get update
+echo "deb http://packages.it-zukunft-schule.de/debian jessie main contrib non-free" >> /etc/apt/sources.list.d/itzks.list
+echo "deb http://packages.it-zukunft-schule.de/debian jessie-backports main contrib non-free" >> /etc/apt/sources.list.d/itzks.list
# Get update and add itzks-keyring and itzks-systems-common package
apt-get update