mirror of
https://codeberg.org/Computertruhe/Setup-Skripte.git
synced 2025-06-28 03:16:21 +02:00
Merge pull request 'aptproxy, pakete konsolidiert' (#80) from auto-apt-proxy_dabei into main
Reviewed-on: https://codeberg.org/Computertruhe/Setup-Skripte/pulls/80 Reviewed-by: Agent_K <agent_k@noreply.codeberg.org>
This commit is contained in:
commit
45a710a5a7
2 changed files with 55 additions and 25 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue