Author SHA1 Message Date
knightsub9 b9e1e7e9f3 remove wrong line sudo apt install chromium-browser 2026-07-07 21:40:35 +02:00
3 changed files with 15 additions and 40 deletions
@@ -2,6 +2,21 @@
SCRIPT_VERSION="v11" SCRIPT_VERSION="v11"
question_answered_with_yes() {
local prompt="$1"
local ans
printf '%b\n Geben Sie j oder n ein und die Eingabetaste,\n Abbruch mit jeder anderen Taste ... [j/N]: ' "$prompt"
read -r ans
case "$ans" in
j | J | ja | y | Y) return 0 ;;
n | N | "") return 1 ;;
*)
echo "Abbruch."
exit 1
;;
esac
}
echo " echo "
##################################### #####################################
#### Nachinstallationsarbeiten #### Nachinstallationsarbeiten
@@ -209,7 +224,6 @@ 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
@@ -253,9 +267,6 @@ if question_answered_with_yes " ### Installiere Signal? ###"; then
# #
fi fi
# execute bundles
# example: $SCRIPT_DIR/bundles/template.sh
echo echo
echo "###############################" echo "###############################"
echo "######### Skript ENDE #########" echo "######### Skript ENDE #########"
@@ -1,20 +0,0 @@
#!/bin/bash
# <short description here>
# A shellscript meant to be used as subscript of `/post_installation_script/Nachinstallationsarbeiten_LC_Esslingen.sh`.
SCRIPT_DIR="$(cd "$(dirname "$0")"/.. && pwd)"
source "$SCRIPT_DIR/common.sh"
# please seperate stuff that doesn't belong together and maybe put short descriptions before those blocks (as comments) like in the following example:
# # Steam and Steam-related packages
# echo '### Steam ###'
# if question_answered_with_yes " ### Installiere Steam? ###"; then
# echo "### Steam ###"
# sudo apt install steam-installer
# # sudo flatpak install com.valvesoftware.Steam
# if question_answered_with_yes " ### Installiere Steam-Geräte-Unterstützungspaket (z. B. für Steam-Controller)? ###"; then
# echo "### Steam-Devices ###"
# sudo apt install steam-devices
# fi
# fi
# echo '### Ende Steam ###'
-16
View File
@@ -1,16 +0,0 @@
# functions and variables for use in multiple files ("common" functions and variables)
question_answered_with_yes() {
local prompt="$1"
local ans
printf '%b\n Geben Sie j oder n ein und die Eingabetaste,\n Abbruch mit jeder anderen Taste ... [j/N]: ' "$prompt"
read -r ans
case "$ans" in
j | J | ja | y | Y) return 0 ;;
n | N | "") return 1 ;;
*)
echo "Abbruch."
exit 1
;;
esac
}