#!/bin/bash # script for installing a Debian Edu Workstation with ITZkS modifications set -e # Add itzks.list and its contents if file not already there if [ ! -e "/etc/apt/sources.list.d/itzks.list" ]; then touch /etc/apt/sources.list.d/itzks.list echo "deb http://packages.it-zukunft-schule.de/debian stretch main contrib non-free" >> /etc/apt/sources.list.d/itzks.list echo "deb http://packages.it-zukunft-schule.de/debian stretch-backports main contrib non-free" >> /etc/apt/sources.list.d/itzks.list echo "deb http://packages.it-zukunft-schule.de/debian sid main contrib non-free" >> /etc/apt/sources.list.d/itzks.list fi # Export proxy-settings for first install export https_proxy=http://webcache:3128 export http_proxy=http://webcache:3128 export ftp_proxy=http://webcache:3128 # Get update and add itzks-keyring and itzks-systems-common package apt-get update apt-get install itzks-keyring && apt-get update && apt-get install itzks-systems-common # Get update and install keyring packages apt-get update apt-get install x2go-keyring deb-multimedia-keyring arctica-keyring && apt-get update # Install the itzks-systems-workstation package apt-get install --yes --force-yes ocsinventory-agent itzks-systems.do_preseed apt-get install itzks-systems-workstation # Install wireless-tools for configuration of WiFi apt-get install wireless-tools # Alternate install libdvdcss2 if needed read -p "Verfügt der Rechner über ein DVD-Laufwerk bzw. sollen DVDs abgespielt werden könnne? (j/n)? " answer case ${answer:0:1} in y|Y|j|J ) apt install libdvdcss2 ;; *) : ;; esac