Compare commits

...

5 Commits

Author SHA1 Message Date
B3rtl c63f56a982 Merge branch 'main' into skripte-f-install 2023-09-25 18:32:07 +00:00
Mac 99ce4abade Merge pull request 'update-for-mint-21.2' (#72) from update-for-mint-21.2 into main
Reviewed-on: https://codeberg.org/Computertruhe/Setup-Skripte/pulls/72
Reviewed-by: hontoni <hontoni@noreply.codeberg.org>
Reviewed-by: Werrner <werrner@noreply.codeberg.org>
2023-08-13 17:59:41 +00:00
Mac dd5a01bca3 Update linux_mint.sh
- fixed typo
2023-08-06 20:58:39 +02:00
Mac 7749e65d55 Update linux_mint.sh
- get rid off output that is sent usually to stdout and stderr
2023-08-06 00:45:01 +02:00
Mac 4e02be504e Update linux_mint.sh
- changed distro version
- added some packages that won't be installed when in OEM setup without Internet connection
- changed color of echo messages from red to green
2023-07-28 20:31:51 +02:00
1 changed files with 9 additions and 8 deletions

View File

@ -9,8 +9,8 @@
export DEBIAN_FRONTEND=noninteractive
DPKG_CFG_FRAGMENT=/etc/dpkg/dpkg.cfg.d/non-interactive
# Linux distro
script_distro='Linux Mint 21.1'
# Name of the distribution
script_distro='Linux Mint 21.2'
# Additional packages
packages=(
@ -35,10 +35,12 @@ packages=(
mythes-ar
thunderbird-locale-ar
# DE
language-pack-gnome-de-base # Installed only with Internet connection during the OEM setup.
firefox-locale-de
hunspell-de-at
hunspell-de-ch
hunspell-de-de
thunderbird-locale-de # Installed only with Internet connection during the OEM setup.
# EN
thunderbird-locale-en-gb
# FA
@ -68,11 +70,10 @@ packages=(
# $*: message to echo.
e() {
printf "\e[31m>>>\e[0m %s\n" "$*"
printf "\e[32m>>>\e[0m %s\n" "$*"
}
# It's a pain to stop execution (CTRL+C, kill) with all the Python applications
# so we catch SIGINT and SIGTERM and exit immediately.
# It's a pain to stop execution (CTRL+C, kill) with all the Python applications so we catch SIGINT and SIGTERM and exit immediately.
handle_signal() {
e "Ausführung abgebrochen! Skript wird beendet."
exit 1
@ -105,7 +106,7 @@ echo "\
###
# Maintainer: Computertruhe e. V.
# Website: https://computertruhe.de/
# Version: 2.3.0
# Version: 2.3.1
# Repo: https://codeberg.org/Computertruhe/Setup-Skripte
# Distro: ${script_distro}
###
@ -113,7 +114,7 @@ echo "\
e "Starte initiales Setup für Rechner mit frisch installiertem '${script_distro}' …"
# Use APT proxy if available.
ping -c 1 apt-proxy
ping -c 1 apt-proxy > /dev/null 2>&1
if [ "$?" -eq "0" ]; then
e "Nutze APT-Proxy."
echo 'Acquire::https::Proxy "http://apt-proxy:3142";' > /etc/apt/apt.conf.d/01aptproxy
@ -146,7 +147,7 @@ e "Proprietäre Treiber installieren (sofern verfügbar) …"
ubuntu-drivers autoinstall
e "Multimedia-Codecs installieren …"
pkg mint-meta-codecs
pkg mint-meta-codecs # Installed only with Internet connection during the OEM setup.
e "Zusätzliche Software installieren …"
pkg "${packages[@]}"