Author SHA1 Message Date
richardmarkus.blockknightsub9 <knightsub9>
10431f4bb8 remove wrong line sudo apt install chromium-browser (#19)
Co-authored-by: knightsub9 <knightsub9>
Reviewed-on: lxcafe/lxcafe#19
Co-authored-by: richard <91+richard@noreply.localhost>
Co-committed-by: richard <91+richard@noreply.localhost>
2026-07-08 20:06:55 +02:00
3 changed files with 15 additions and 40 deletions
@@ -2,6 +2,21 @@
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 "
#####################################
#### Nachinstallationsarbeiten
@@ -209,7 +224,6 @@ echo
echo "#### Chromium Browser installieren:"
if question_answered_with_yes " ### Installiere Chromium? ###"; then
echo "### Chromium ###"
sudo apt install chromium-browser
sudo apt install chromium
fi
@@ -253,9 +267,6 @@ if question_answered_with_yes " ### Installiere Signal? ###"; then
#
fi
# execute bundles
# example: $SCRIPT_DIR/bundles/template.sh
echo
echo "###############################"
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
}