diff --git a/v2/fedora-niri.sh b/v2/fedora-niri.sh index 0b2727d..e42d5f8 100755 --- a/v2/fedora-niri.sh +++ b/v2/fedora-niri.sh @@ -85,23 +85,13 @@ CURRENT_DE="$(detect_de)" CURRENT_DM="$(detect_display_manager)" # Add Terra repo +say_yellow "DEBUG: add_terra_repo called" add_terra_repo() { - if [ ! -f /etc/yum.repos.d/terra.repo ]; then - say_yellow "Adding Terra repository for Noctalia Shell..." + echo "DEBUG STEP 1" - TMP_FILE="/tmp/terra.repo" - - curl -fsSL https://github.com/terrapkg/subatomic-repos/raw/main/terra.repo -o "$TMP_FILE" && - sudo mv "$TMP_FILE" /etc/yum.repos.d/terra.repo + curl -v https://github.com/terrapkg/subatomic-repos/raw/main/terra.repo - say_yellow "Clearing DNF cache..." - sudo dnf clean metadata - - say_yellow "Refreshing repositories..." - sudo dnf makecache --refresh - else - say_gray "Terra repository already configured." - fi + echo "DEBUG STEP 2" } # Core components for Niri & Noctalia setup