add if statement for solopasha/hyprland

This commit is contained in:
Simon Rieger 2025-04-29 11:46:56 +02:00
parent 380de70a05
commit dd4205d259

View file

@ -54,7 +54,12 @@ sudo dnf install -y \
docker-buildx-plugin docker-compose-plugin
## Aktiviere das COPR-Repository von solopasha/hyprland:
sudo dnf copr enable solopasha/hyprland
if dnf copr list | grep -q 'solopasha/hyprland'; then
echo "solopasha/hyprland Copr-Repo ist bereits aktiviert"
else
sudo dnf copr enable solopasha/hyprland
echo "solopasha/hyprland Copr-Repo wurde hinzugefügt"
fi
sudo dnf install satty nwg-look cliphist
sudo dnf update