From 4e02be504ea465b5287788a1782228ad28acf6b2 Mon Sep 17 00:00:00 2001 From: Mac Date: Fri, 28 Jul 2023 20:31:51 +0200 Subject: [PATCH 1/3] 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 --- mint/linux_mint.sh | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/mint/linux_mint.sh b/mint/linux_mint.sh index b1c123e..be7a078 100755 --- a/mint/linux_mint.sh +++ b/mint/linux_mint.sh @@ -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} ### @@ -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[@]}" From 7749e65d558bce2f91c5a4dd242a6dd9465566aa Mon Sep 17 00:00:00 2001 From: Mac Date: Sun, 6 Aug 2023 00:45:01 +0200 Subject: [PATCH 2/3] Update linux_mint.sh - get rid off output that is sent usually to stdout and stderr --- mint/linux_mint.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mint/linux_mint.sh b/mint/linux_mint.sh index be7a078..cecb4d2 100755 --- a/mint/linux_mint.sh +++ b/mint/linux_mint.sh @@ -114,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/nul 2>&1 if [ "$?" -eq "0" ]; then e "Nutze APT-Proxy." echo 'Acquire::https::Proxy "http://apt-proxy:3142";' > /etc/apt/apt.conf.d/01aptproxy From dd5a01bca3da99e2b47b2cabf969f785bf62a7c5 Mon Sep 17 00:00:00 2001 From: Mac Date: Sun, 6 Aug 2023 20:58:39 +0200 Subject: [PATCH 3/3] Update linux_mint.sh - fixed typo --- mint/linux_mint.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mint/linux_mint.sh b/mint/linux_mint.sh index cecb4d2..efae62f 100755 --- a/mint/linux_mint.sh +++ b/mint/linux_mint.sh @@ -114,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 > /dev/nul 2>&1 +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