From dd4205d259f43b35dde06e23449026227f004518 Mon Sep 17 00:00:00 2001 From: Simon Rieger Date: Tue, 29 Apr 2025 11:46:56 +0200 Subject: [PATCH] add if statement for solopasha/hyprland --- executable_install-fedora.sh | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/executable_install-fedora.sh b/executable_install-fedora.sh index 701e79f..b5d130f 100755 --- a/executable_install-fedora.sh +++ b/executable_install-fedora.sh @@ -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