summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2018-01-24 17:44:31 +0100
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2018-01-24 17:44:31 +0100
commitdc6d912c7ed980a39a1d9ed76f7dbabd26ecdd49 (patch)
tree8e4a5020b0de1e315f579d501bb05cf6f183cee5
parentfa328c97cc72b37075c37bd154e5f431b051f19d (diff)
downloaditzks-install-script-dc6d912c7ed980a39a1d9ed76f7dbabd26ecdd49.tar.gz
itzks-install-script-dc6d912c7ed980a39a1d9ed76f7dbabd26ecdd49.tar.bz2
itzks-install-script-dc6d912c7ed980a39a1d9ed76f7dbabd26ecdd49.zip
libdvdcss2 installation: indentation style fixes. Remove commented out block.
-rw-r--r--install-itzks-workstation23
1 files 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
####################