mirror of
https://codeberg.org/B3rtl/Ubuntu-Setup-Skripte
synced 2025-06-28 11:26:08 +02:00
Merge pull request 'Angleichung der Post-install skripte' (#63) from B3rtl/Ubuntu-Setup-Skripte:postinstallfix into main
Reviewed-on: https://codeberg.org/Computertruhe/Setup-Skripte/pulls/63 Reviewed-by: Mac <mac@noreply.codeberg.org> Reviewed-by: Valentin Bachem <hdvalentin@noreply.codeberg.org>
This commit is contained in:
commit
cb9a2ae2dc
3 changed files with 4 additions and 36 deletions
|
@ -27,7 +27,6 @@ packages=(
|
||||||
keepassxc
|
keepassxc
|
||||||
|
|
||||||
# Games
|
# Games
|
||||||
#0ad
|
|
||||||
beneath-a-steel-sky
|
beneath-a-steel-sky
|
||||||
billard-gl
|
billard-gl
|
||||||
blobby
|
blobby
|
||||||
|
@ -141,6 +140,7 @@ handle_signal() {
|
||||||
handle_exit() {
|
handle_exit() {
|
||||||
e "Finales Cleanup wird durchgeführt …"
|
e "Finales Cleanup wird durchgeführt …"
|
||||||
rm -f "$DPKG_CFG_FRAGMENT"
|
rm -f "$DPKG_CFG_FRAGMENT"
|
||||||
|
rm -f /etc/apt/apt.conf.d/01aptproxy
|
||||||
}
|
}
|
||||||
|
|
||||||
trap handle_signal SIGINT SIGTERM
|
trap handle_signal SIGINT SIGTERM
|
||||||
|
@ -219,8 +219,6 @@ apt autoremove --yes --quiet
|
||||||
###
|
###
|
||||||
# Finalisation
|
# Finalisation
|
||||||
###
|
###
|
||||||
e "Apt proxy wieder entfernen..."
|
|
||||||
rm /etc/apt/apt.conf.d/01aptproxy
|
|
||||||
|
|
||||||
e "Initiales Setup beendet."
|
e "Initiales Setup beendet."
|
||||||
oem-config-prepare
|
oem-config-prepare
|
||||||
|
|
|
@ -1,32 +0,0 @@
|
||||||
#!/bin/bash
|
|
||||||
|
|
||||||
IMG="$1"
|
|
||||||
DEV="$2"
|
|
||||||
|
|
||||||
if [ -z "$(command -v growpart)" ]; then
|
|
||||||
echo "growpart fehlt! Installiere cloud-guest-utils..."
|
|
||||||
sudo apt update
|
|
||||||
sudo apt install -y cloud-guest-utils
|
|
||||||
fi
|
|
||||||
|
|
||||||
if [ -z "$IMG" ] ; then
|
|
||||||
echo "Image-File angeben!"
|
|
||||||
exit 1
|
|
||||||
fi
|
|
||||||
|
|
||||||
if [ -z "$DEV" ] ; then
|
|
||||||
echo "HDD dev angeben! z. B. /dev/hdc"
|
|
||||||
exit 1
|
|
||||||
fi
|
|
||||||
|
|
||||||
echo "Warte 1 Sekunden vor dem löschen, abbrechen mit strg + c..."
|
|
||||||
sleep 1
|
|
||||||
echo "Achtung - vorbei, ich mache jetzt alles platt auf" "${DEV}"
|
|
||||||
|
|
||||||
sudo dd if="$IMG" of=$DEV bs=1M status=progress
|
|
||||||
sync
|
|
||||||
sudo growpart $DEV 3
|
|
||||||
sudo mount ${DEV}3 /mnt
|
|
||||||
sudo btrfs filesystem resize max /mnt
|
|
||||||
sudo umount /mnt
|
|
||||||
sync
|
|
|
@ -27,7 +27,6 @@ packages=(
|
||||||
keepassxc
|
keepassxc
|
||||||
|
|
||||||
# Games
|
# Games
|
||||||
0ad
|
|
||||||
beneath-a-steel-sky
|
beneath-a-steel-sky
|
||||||
billard-gl
|
billard-gl
|
||||||
blobby
|
blobby
|
||||||
|
@ -212,7 +211,10 @@ pkg "${packages[@]}"
|
||||||
|
|
||||||
e "Sprachunterstützung vervollständigen …"
|
e "Sprachunterstützung vervollständigen …"
|
||||||
pkg $(check-language-support)
|
pkg $(check-language-support)
|
||||||
|
e "Arabische Schrift"
|
||||||
pkg fonts-arabeyes
|
pkg fonts-arabeyes
|
||||||
|
e "Kyrillische Schrift"
|
||||||
|
pkg xfonts-cyrillic
|
||||||
|
|
||||||
# These packages have to be installed after "$(check-language-support)".
|
# These packages have to be installed after "$(check-language-support)".
|
||||||
pkg hunspell-de-at hunspell-de-ch hunspell-de-de hunspell-uk hunspell-ru
|
pkg hunspell-de-at hunspell-de-ch hunspell-de-de hunspell-uk hunspell-ru
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue