5
0
Fork 0
mirror of https://codeberg.org/Computertruhe/Setup-Skripte.git synced 2025-06-28 19:36:21 +02:00

zusatzpakete mitbringen

This commit is contained in:
Robert 2023-04-18 18:29:36 +02:00
parent 9be090a044
commit 05df5c9d50
3 changed files with 39 additions and 1 deletions

View file

@ -1,5 +1,11 @@
#!/bin/bash
if [[ -z "$(command -v growpart)" || -z "$(command -v btrfs)" ]]; then
echo "growpart oder btrfs fehlt! Installiere cloud-guest-utils und btrfs-progs..."
sudo apt update
sudo apt install -y cloud-guest-utils btrfs-progs
fi
if [ -z "$(command -v dialog)" ]; then
echo "dialog fehlt! Installiere dialog..."
sudo apt update