From dc6d912c7ed980a39a1d9ed76f7dbabd26ecdd49 Mon Sep 17 00:00:00 2001 From: Mike Gabriel Date: Wed, 24 Jan 2018 17:44:31 +0100 Subject: libdvdcss2 installation: indentation style fixes. Remove commented out block. --- install-itzks-workstation | 23 ++++++----------------- 1 file changed, 6 insertions(+), 17 deletions(-) diff --git a/install-itzks-workstation b/install-itzks-workstation index a08d52d..a0d4e43 100644 --- a/install-itzks-workstation +++ b/install-itzks-workstation @@ -48,26 +48,15 @@ apt-get install --yes --force-yes ocsinventory-agent itzks-systems.do_preseed apt-get install itzks-systems-workstation -# FIXME: If "no" is selected it ends the whole script. -# Install libdvdcss2 if needed -#while true; do -# read -p "Verfügt der Rechner über ein DVD-Laufwerk bzw. sollen DVDs abgespielt werden können? [j/n] " yn -# case $yn in -# [Jj]* ) apt install libdvdcss2; break;; -# [Nn]* ) exit;; -# * ) echo "Bitte antworte mit Ja oder Nein.";; -# esac -#done - # 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 - ;; - * ) - : - ;; + y|Y|j|J ) + apt install libdvdcss2 + ;; + *) + : + ;; esac #################### -- cgit v1.2.3