Update v2/fedora-niri.sh
This commit is contained in:
+11
-4
@@ -85,13 +85,20 @@ CURRENT_DE="$(detect_de)"
|
||||
CURRENT_DM="$(detect_display_manager)"
|
||||
|
||||
# Add Terra repo
|
||||
say_yellow "DEBUG: add_terra_repo called"
|
||||
add_terra_repo() {
|
||||
echo "DEBUG STEP 1"
|
||||
if [ ! -f /etc/yum.repos.d/terra.repo ]; then
|
||||
say_yellow "Adding Terra repository for Noctalia Shell..."
|
||||
|
||||
curl -v https://github.com/terrapkg/subatomic-repos/raw/main/terra.repo
|
||||
TMP_FILE="/tmp/terra.repo"
|
||||
|
||||
echo "DEBUG STEP 2"
|
||||
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
|
||||
|
||||
say_yellow "Clearing DNF cache..."
|
||||
sudo dnf clean metadata
|
||||
else
|
||||
say_gray "Terra repository already configured."
|
||||
fi
|
||||
}
|
||||
|
||||
# Core components for Niri & Noctalia setup
|
||||
|
||||
Reference in New Issue
Block a user