Update v2/fedora-niri.sh

This commit is contained in:
2026-06-05 22:14:54 +02:00
parent 1bf9a02e13
commit cb175f977f
+4 -14
View File
@@ -85,23 +85,13 @@ CURRENT_DE="$(detect_de)"
CURRENT_DM="$(detect_display_manager)" CURRENT_DM="$(detect_display_manager)"
# Add Terra repo # Add Terra repo
say_yellow "DEBUG: add_terra_repo called"
add_terra_repo() { add_terra_repo() {
if [ ! -f /etc/yum.repos.d/terra.repo ]; then echo "DEBUG STEP 1"
say_yellow "Adding Terra repository for Noctalia Shell..."
TMP_FILE="/tmp/terra.repo" curl -v https://github.com/terrapkg/subatomic-repos/raw/main/terra.repo
curl -fsSL https://github.com/terrapkg/subatomic-repos/raw/main/terra.repo -o "$TMP_FILE" && echo "DEBUG STEP 2"
sudo mv "$TMP_FILE" /etc/yum.repos.d/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
} }
# Core components for Niri & Noctalia setup # Core components for Niri & Noctalia setup