5
0
Fork 0
mirror of https://codeberg.org/Computertruhe/Setup-Skripte.git synced 2025-06-28 03:16:21 +02:00

Merge pull request 'Update linux_mint.sh' (#87) from clean-up into main

Reviewed-on: https://codeberg.org/Computertruhe/Setup-Skripte/pulls/87
Reviewed-by: Valentin Bachem <hdvalentin@noreply.codeberg.org>
Reviewed-by: Agent_K <agent_k@noreply.codeberg.org>
This commit is contained in:
Agent_K 2025-05-25 12:31:57 +02:00
commit 373b0cf8a1

View file

@ -11,20 +11,20 @@ DPKG_CFG_FRAGMENT=/etc/dpkg/dpkg.cfg.d/non-interactive
# Name of the distribution # Name of the distribution
script_distro='Linux Mint 22.1' script_distro='Linux Mint 22.1'
script_version='2.3.5' script_version='2.3.6'
# Additional packages # Additional packages
packages=( packages=(
# Program packages # Program packages
libreoffice cheese
openoffice.org-hyphenation
keepassxc
gparted gparted
hardinfo hardinfo
keepassxc
libreoffice
mint-meta-codecs # May not have been installed during the OEM setup because the corresponding checkbox was not checked or no internet connection was available.
openoffice.org-hyphenation
regionset regionset
cheese
vlc vlc
fwupd
) )
### ###
@ -44,7 +44,7 @@ handle_signal() {
# Always executed when exiting the shell, regardless of the reason. # Always executed when exiting the shell, regardless of the reason.
handle_exit() { handle_exit() {
e "Finale Aufräumarbeiten werden durchgeführt …" e "Finale Aufräumarbeiten durchgeführen …"
rm -f "$DPKG_CFG_FRAGMENT" rm -f "$DPKG_CFG_FRAGMENT"
rm -f /etc/apt/apt.conf.d/01aptproxy rm -f /etc/apt/apt.conf.d/01aptproxy
@ -77,7 +77,7 @@ echo "\
e "Starte initiales Setup für Rechner mit frisch installiertem '${script_distro}' …" e "Starte initiales Setup für Rechner mit frisch installiertem '${script_distro}' …"
# The installation of auto-apt-proxy does no harm and allows the use of an apt-proxy or other caches, e.g. named in SRV records. # The installation of auto-apt-proxy does no harm and allows the use of an apt-proxy or other caches, e.g. named in SRV records.
e "Installiere APT-Proxy-Autodetektor …" e "APT-Proxy-Autodetektor installieren …"
apt install auto-apt-proxy apt install auto-apt-proxy
### ###
@ -123,6 +123,6 @@ else
e "Das Skript läuft nicht auf einem MacBook." e "Das Skript läuft nicht auf einem MacBook."
fi fi
e "Firmware Aktualisieren mittels fwupd..." e "Firmware aktualisieren …"
fwupdmgr refresh fwupdmgr refresh
fwupdmgr update -y fwupdmgr update --assume-yes