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

aptproxy, pakete konsolidiert

This commit is contained in:
Robert 2024-10-25 09:16:22 +02:00
parent 22ab72a4cc
commit c90aadaee8
2 changed files with 55 additions and 25 deletions

View file

@ -17,7 +17,7 @@ packages=(
libreoffice
keepassxc
kpartx
oem-config
# oem-config
hardinfo
regionset
cheese
@ -26,10 +26,52 @@ packages=(
# Language support
language-selector-common
openoffice.org-hyphenation
# AR
language-pack-kde-ar
language-pack-kde-uk
language-pack-kde-ru
fonts-arabeyes
hunspell-ar
libreoffice-l10n-ar
mythes-ar
hunspell-ar
thunderbird-locale-ar
# DE
language-pack-kde-de # Installed only with Internet connection during the OEM setup.
firefox-locale-de
thunderbird-locale-de # Installed only with Internet connection during the OEM setup.
hunspell-de-de
mythes-de
hyphen-de
mythes-de
# EN
thunderbird-locale-en-gb
# FA
language-pack-kde-fa
firefox-locale-fa
thunderbird-locale-fa
libreoffice-l10n-fa
myspell-fa
# RU
language-pack-kde-ru
firefox-locale-ru
thunderbird-locale-ru
hyphen-ru
mythes-ru
hunspell-ru
# UK
language-pack-kde-uk
libreoffice-l10n-uk
firefox-locale-uk
thunderbird-locale-uk
hyphen-uk
mythes-uk
hunspell-uk
wukrainian
)
###
@ -80,17 +122,11 @@ echo "\
"
e "Starte initiales Setup für Rechner mit frisch installiertem '${script_distro}' …"
# ChCh apt proxy benutzen (bedingt = wenn da)
ping -c 1 apt-proxy
if [ "$?" -eq "0" ]; then
echo 'Acquire::https::Proxy "http://apt-proxy:3142";' > /etc/apt/apt.conf.d/01aptproxy
echo 'Acquire::http::Proxy "http://apt-proxy:3142";' >> /etc/apt/apt.conf.d/01aptproxy
e "Proxy Apt-Aktiv"
else
e "Kein Apt-Proxy"
fi
echo 'Dpkg::Options "--force-unsafe-io";' >> /etc/apt/apt.conf.d/01aptproxy
# Generell auto-apt-proxy installieren
# tut nicht weh und erweitert apt jetzt und in Zukunft, einen host apt-proxy oder andere
# z.b. in SRV-Records benannte caches zu verwenden. gut für spätere updates.
e "Apt proxy automatisch verwenden"
apt install auto-apt-proxy
###
# Automatic installation

View file

@ -114,17 +114,11 @@ echo "\
"
e "Starte initiales Setup für Rechner mit frisch installiertem '${script_distro}' …"
# Use APT proxy if available.
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
echo 'Acquire::http::Proxy "http://apt-proxy:3142";' >> /etc/apt/apt.conf.d/01aptproxy
else
e "Kein APT-Proxy gefunden."
fi
echo 'Dpkg::Options "--force-unsafe-io";' >> /etc/apt/apt.conf.d/01aptproxy
# Generell auto-apt-proxy installieren
# tut nicht weh und erweitert apt jetzt und in Zukunft, einen host apt-proxy oder andere
# z.b. in SRV-Records benannte caches zu verwenden. gut für spätere updates.
e "Apt proxy automatisch verwenden"
apt install auto-apt-proxy
###
# Automatic installation