diff --git a/executable_install-fedora.sh b/executable_install-fedora.sh index 5961308..96afecd 100644 --- a/executable_install-fedora.sh +++ b/executable_install-fedora.sh @@ -69,9 +69,10 @@ sudo dnf install -y \ hyprpm_update_plugin() { local REPO_URL="$1" local PLUGIN_NAME="$2" - + local REPO_NAME="${REPO_URL##*/}" + # Repository-Prüfung mit stderr-Umleitung - if ! hyprpm list 2>/dev/null | grep -q "$REPO_URL"; then + if ! hyprpm list 2>/dev/null | grep -q "$REPO_NAME"; then echo "Füge Repository hinzu..." if ! hyprpm add "$REPO_URL" 2>/dev/null; then echo "⚠️ Repository konnte nicht hinzugefügt (existiert bereits?)"