5
0
Fork 0
mirror of https://codeberg.org/Computertruhe/Setup-Skripte.git synced 2024-06-06 18:46:25 +02:00

add missing language-packages and configure arabic and persian keyboard-layout

This is a correction of the PR #5. According to the comment I got I can remove hyphen-fi hyphen-ga hyphen-id from the list since they are dependencies of the openoffice.org-hyphenation package and are installed automatically. This resolves issue #4.

I also added a command to the script which sets the additional keyboard layouts (arabian and persian) needed via command line. This resolves Issue #5.
This commit is contained in:
stefan230 2020-01-06 11:43:06 +01:00
parent 0b243479e0
commit 616465b719

View file

@ -130,7 +130,10 @@ apt install language-pack-ar language-pack-gnome-ar language-pack-fa language-pa
echo ">>> Sprachunterstützung vervollständigen ..."
apt install language-selector-common --yes
apt install $(check-language-support) --yes
apt install hunspell-de-at hunspell-de-ch hunspell-de-de hyphen-fi hyphen-ga hyphen-id openoffice.org-hyphenation --yes
apt install hunspell-de-at hunspell-de-ch hunspell-de-de openoffice.org-hyphenation --yes
echo ">>> Richte arabisches und persisches Tastatur-Layout ein..."
gsettings set org.gnome.libgnomekbd.keyboard layouts "['de', 'ara', 'ir']"
echo ">>> Unnötige Pakete entfernen ..."
apt clean
@ -141,6 +144,3 @@ apt autoremove --yes
# Finalisation
###
echo ">>> Initiales Setup beendet."
echo
echo ">>> To-dos:"
echo ">>> - Arabisches und persisches Tastatur-Layout einrichten"