Merge pull request 'Fix for language dependent packages' (#70) from fix-for-installation-of-language-packages into main
Reviewed-on: https://codeberg.org/Computertruhe/Setup-Skripte/pulls/70 Reviewed-by: Werrner <werrner@noreply.codeberg.org> Reviewed-by: hontoni <hontoni@noreply.codeberg.org>
This commit is contained in:
commit
d102f5feff
|
@ -10,10 +10,11 @@ export DEBIAN_FRONTEND=noninteractive
|
||||||
DPKG_CFG_FRAGMENT=/etc/dpkg/dpkg.cfg.d/non-interactive
|
DPKG_CFG_FRAGMENT=/etc/dpkg/dpkg.cfg.d/non-interactive
|
||||||
|
|
||||||
# Linux distro
|
# Linux distro
|
||||||
script_distro='Linux Mint 21'
|
script_distro='Linux Mint 21.1'
|
||||||
|
|
||||||
# Additional packages
|
# Additional packages
|
||||||
packages=(
|
packages=(
|
||||||
|
# Program packages
|
||||||
libreoffice
|
libreoffice
|
||||||
keepassxc
|
keepassxc
|
||||||
gparted
|
gparted
|
||||||
|
@ -22,12 +23,43 @@ packages=(
|
||||||
cheese
|
cheese
|
||||||
vlc
|
vlc
|
||||||
|
|
||||||
# Language support
|
# Language related packages
|
||||||
|
# Generic
|
||||||
openoffice.org-hyphenation
|
openoffice.org-hyphenation
|
||||||
language-pack-gnome-ar
|
# AR
|
||||||
language-pack-gnome-fa
|
language-pack-gnome-ar-base
|
||||||
language-pack-gnome-ru
|
firefox-locale-ar
|
||||||
language-pack-gnome-uk
|
fonts-arabeyes
|
||||||
|
hunspell-ar
|
||||||
|
libreoffice-l10n-ar
|
||||||
|
mythes-ar
|
||||||
|
thunderbird-locale-ar
|
||||||
|
# DE
|
||||||
|
firefox-locale-de
|
||||||
|
hunspell-de-at
|
||||||
|
hunspell-de-ch
|
||||||
|
hunspell-de-de
|
||||||
|
# EN
|
||||||
|
thunderbird-locale-en-gb
|
||||||
|
# FA
|
||||||
|
language-pack-gnome-fa-base
|
||||||
|
firefox-locale-fa
|
||||||
|
libreoffice-l10n-fa
|
||||||
|
myspell-fa
|
||||||
|
thunderbird-locale-fa
|
||||||
|
# RU
|
||||||
|
language-pack-gnome-ru-base
|
||||||
|
firefox-locale-ru
|
||||||
|
thunderbird-locale-ru
|
||||||
|
# UK
|
||||||
|
language-pack-gnome-uk-base
|
||||||
|
libreoffice-l10n-uk
|
||||||
|
firefox-locale-uk
|
||||||
|
thunderbird-locale-uk
|
||||||
|
hyphen-uk
|
||||||
|
mythes-uk
|
||||||
|
hunspell-uk
|
||||||
|
wukrainian
|
||||||
)
|
)
|
||||||
|
|
||||||
###
|
###
|
||||||
|
@ -73,7 +105,7 @@ echo "\
|
||||||
###
|
###
|
||||||
# Maintainer: Computertruhe e. V.
|
# Maintainer: Computertruhe e. V.
|
||||||
# Website: https://computertruhe.de/
|
# Website: https://computertruhe.de/
|
||||||
# Version: 2.2.1
|
# Version: 2.3.0
|
||||||
# Repo: https://codeberg.org/Computertruhe/Setup-Skripte
|
# Repo: https://codeberg.org/Computertruhe/Setup-Skripte
|
||||||
# Distro: ${script_distro}
|
# Distro: ${script_distro}
|
||||||
###
|
###
|
||||||
|
@ -119,16 +151,6 @@ pkg mint-meta-codecs
|
||||||
e "Zusätzliche Software installieren …"
|
e "Zusätzliche Software installieren …"
|
||||||
pkg "${packages[@]}"
|
pkg "${packages[@]}"
|
||||||
|
|
||||||
e "Sprachunterstützung vervollständigen …"
|
|
||||||
pkg $(check-language-support)
|
|
||||||
e "Arabische Schrift"
|
|
||||||
pkg fonts-arabeyes
|
|
||||||
e "Kyrillische Schrift"
|
|
||||||
pkg xfonts-cyrillic
|
|
||||||
|
|
||||||
# These packages have to be installed after "$(check-language-support)".
|
|
||||||
pkg hunspell-de-at hunspell-de-ch hunspell-de-de hunspell-uk hunspell-ru
|
|
||||||
|
|
||||||
e "Unnötige Pakete entfernen und Cache bereinigen …"
|
e "Unnötige Pakete entfernen und Cache bereinigen …"
|
||||||
apt clean --yes --quiet
|
apt clean --yes --quiet
|
||||||
apt autoremove --yes --quiet
|
apt autoremove --yes --quiet
|
||||||
|
|
Loading…
Reference in New Issue