mirror of
https://codeberg.org/Computertruhe/Setup-Skripte.git
synced 2025-06-28 11:26:18 +02:00
Rename more_packages to packages.
Move some language packages to packages list. Revert apt-get to apt. Add info about install order
This commit is contained in:
parent
317f744d28
commit
0ed806753b
1 changed files with 15 additions and 9 deletions
|
@ -12,7 +12,7 @@ color_prefix=32 # green
|
||||||
script_distro='Linux Mint 19.x'
|
script_distro='Linux Mint 19.x'
|
||||||
|
|
||||||
# Additional packages
|
# Additional packages
|
||||||
more_packages=(
|
packages=(
|
||||||
# Graphics
|
# Graphics
|
||||||
cheese
|
cheese
|
||||||
inkscape
|
inkscape
|
||||||
|
@ -71,6 +71,14 @@ more_packages=(
|
||||||
ubuntu-edu-primary
|
ubuntu-edu-primary
|
||||||
ubuntu-edu-secondary
|
ubuntu-edu-secondary
|
||||||
ubuntu-edu-tertiary
|
ubuntu-edu-tertiary
|
||||||
|
|
||||||
|
# Language support
|
||||||
|
language-selector-common
|
||||||
|
openoffice.org-hyphenation
|
||||||
|
language-pack-ar
|
||||||
|
language-pack-gnome-ar
|
||||||
|
language-pack-fa
|
||||||
|
language-pack-gnome-fa
|
||||||
)
|
)
|
||||||
|
|
||||||
###
|
###
|
||||||
|
@ -94,7 +102,7 @@ handle_signal() {
|
||||||
trap handle_signal SIGINT SIGTERM
|
trap handle_signal SIGINT SIGTERM
|
||||||
|
|
||||||
pkg() {
|
pkg() {
|
||||||
apt-get install "$@" --quiet --yes
|
apt install "$@" --quiet --yes
|
||||||
}
|
}
|
||||||
|
|
||||||
###
|
###
|
||||||
|
@ -127,21 +135,19 @@ if is_root; then
|
||||||
ubuntu-drivers autoinstall
|
ubuntu-drivers autoinstall
|
||||||
|
|
||||||
e "Zusätzliche Software installieren ..."
|
e "Zusätzliche Software installieren ..."
|
||||||
pkg "${more_packages[@]}"
|
pkg "${packages[@]}"
|
||||||
|
|
||||||
e "Sprachpakete 'ar' und 'fa' installieren ..."
|
|
||||||
pkg language-pack-ar language-pack-gnome-ar language-pack-fa language-pack-gnome-fa
|
|
||||||
|
|
||||||
e "Sprachunterstützung vervollständigen ..."
|
e "Sprachunterstützung vervollständigen ..."
|
||||||
pkg language-selector-common "$(check-language-support)"
|
pkg "$(check-language-support)"
|
||||||
pkg hunspell-de-at hunspell-de-ch hunspell-de-de openoffice.org-hyphenation
|
# these packages have to be installed after "$(check-language-support)"
|
||||||
|
pkg hunspell-de-at hunspell-de-ch hunspell-de-de
|
||||||
|
|
||||||
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
|
||||||
|
|
||||||
e "Root Setup abgeschlossen."
|
e "Root Setup abgeschlossen."
|
||||||
# It's very important to exit here. We don't want to have run as root past this point
|
# It's very important to exit here. We don't want root past this point!
|
||||||
exit
|
exit
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue