Author SHA1 Message Date
knightsub9 b9e1e7e9f3 remove wrong line sudo apt install chromium-browser 2026-07-07 21:40:35 +02:00
@@ -10,7 +10,10 @@ question_answered_with_yes() {
case "$ans" in case "$ans" in
j | J | ja | y | Y) return 0 ;; j | J | ja | y | Y) return 0 ;;
n | N | "") return 1 ;; n | N | "") return 1 ;;
*) echo "Abbruch."; exit 1 ;; *)
echo "Abbruch."
exit 1
;;
esac esac
} }
@@ -80,7 +83,10 @@ if [ -z "$DETECTED_DESKTOP" ]; then
case "$desktop_choice" in case "$desktop_choice" in
1) DESKTOP="xfce" ;; 1) DESKTOP="xfce" ;;
2) DESKTOP="cinnamon" ;; 2) DESKTOP="cinnamon" ;;
*) echo "Ungültige Auswahl. Skript wird beendet."; exit 1 ;; *)
echo "Ungültige Auswahl. Skript wird beendet."
exit 1
;;
esac esac
else else
echo echo
@@ -99,7 +105,10 @@ else
case "$desktop_choice" in case "$desktop_choice" in
1) DESKTOP="xfce" ;; 1) DESKTOP="xfce" ;;
2) DESKTOP="cinnamon" ;; 2) DESKTOP="cinnamon" ;;
*) echo "Ungültige Auswahl. Skript wird beendet."; exit 1 ;; *)
echo "Ungültige Auswahl. Skript wird beendet."
exit 1
;;
esac esac
fi fi
fi fi
@@ -130,7 +139,6 @@ if question_answered_with_yes " ### Installiere Sensoren? ###"; then
fi fi
fi fi
echo echo
echo echo
echo "### Kauf-DVDs abspielen ###" echo "### Kauf-DVDs abspielen ###"
@@ -140,7 +148,6 @@ if question_answered_with_yes " ### Installiere Paket um Film DVDs abspielen zu
sudo dpkg-reconfigure libdvd-pkg sudo dpkg-reconfigure libdvd-pkg
fi fi
echo echo
echo echo
echo "### Schriften, falls Microsoft-Office-Dokumente weiterverwendet werden sollen oder Dokumentenaustausch mit Microsoft-Nutzern gewünscht ist ### echo "### Schriften, falls Microsoft-Office-Dokumente weiterverwendet werden sollen oder Dokumentenaustausch mit Microsoft-Nutzern gewünscht ist ###
@@ -197,7 +204,7 @@ if question_answered_with_yes " ### Installiere Google Schriften? ###"; then
curl -s -o /tmp/"$_font".zip "${_google_fonts_url_base}/$_font?download=zip&subsets=latin,latin-ext&variants=regular,700" curl -s -o /tmp/"$_font".zip "${_google_fonts_url_base}/$_font?download=zip&subsets=latin,latin-ext&variants=regular,700"
if [ -s /tmp/"$_font".zip ] && head -c 2 /tmp/"$_font".zip | grep -q "PK"; then if [ -s /tmp/"$_font".zip ] && head -c 2 /tmp/"$_font".zip | grep -q "PK"; then
unzip -o /tmp/"$_font".zip -d /tmp/"$_font"_fonts unzip -o /tmp/"$_font".zip -d /tmp/"$_font"_fonts
sudo cp /tmp/"$_font"_fonts/fonts/"$_font"/* "$_google_fonts_dir/" 2>/dev/null || \ sudo cp /tmp/"$_font"_fonts/fonts/"$_font"/* "$_google_fonts_dir/" 2>/dev/null ||
sudo cp /tmp/"$_font"_fonts/* "$_google_fonts_dir/" 2>/dev/null || true sudo cp /tmp/"$_font"_fonts/* "$_google_fonts_dir/" 2>/dev/null || true
rm -rf /tmp/"$_font".zip /tmp/"$_font"_fonts rm -rf /tmp/"$_font".zip /tmp/"$_font"_fonts
else else
@@ -212,18 +219,14 @@ if question_answered_with_yes " ### Installiere Google Schriften? ###"; then
echo "Die Anpassung der Standardschriften und/oder das Erstellen der Ersetzungstabelle in Libre Office muss manuell erfolgen, falls gewünscht." echo "Die Anpassung der Standardschriften und/oder das Erstellen der Ersetzungstabelle in Libre Office muss manuell erfolgen, falls gewünscht."
fi fi
echo echo
echo echo
echo "#### Chromium Browser installieren:" echo "#### Chromium Browser installieren:"
if question_answered_with_yes " ### Installiere Chromium? ###"; then if question_answered_with_yes " ### Installiere Chromium? ###"; then
echo "### Chromium ###" echo "### Chromium ###"
sudo apt install chromium-browser
sudo apt install chromium sudo apt install chromium
fi fi
echo echo
echo echo
echo "#### Vivaldi Browser installieren:" echo "#### Vivaldi Browser installieren:"
@@ -245,7 +248,6 @@ if question_answered_with_yes " ### Installiere Vivaldi? ###"; then
# #
fi fi
echo echo
echo echo
echo "####Signal für Desktop (die Nutzung setzt eine Signal-Installation auf einem Android- Oder Apple-Gerät voraus!)#### " echo "####Signal für Desktop (die Nutzung setzt eine Signal-Installation auf einem Android- Oder Apple-Gerät voraus!)#### "
@@ -265,8 +267,6 @@ if question_answered_with_yes " ### Installiere Signal? ###"; then
# #
fi fi
echo echo
echo "###############################" echo "###############################"
echo "######### Skript ENDE #########" echo "######### Skript ENDE #########"