Update v2/fedora-niri.sh
This commit is contained in:
+4
-2
@@ -89,8 +89,10 @@ add_terra_repo() {
|
|||||||
if [ ! -f /etc/yum.repos.d/terra.repo ]; then
|
if [ ! -f /etc/yum.repos.d/terra.repo ]; then
|
||||||
say_yellow "Adding Terra repository for Noctalia Shell..."
|
say_yellow "Adding Terra repository for Noctalia Shell..."
|
||||||
|
|
||||||
sudo curl -fsSL https://github.com/terrapkg/subatomic-repos/raw/main/terra.repo | \
|
TMP_FILE="/tmp/terra.repo"
|
||||||
sudo tee /etc/yum.repos.d/terra.repo > /dev/null
|
|
||||||
|
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..."
|
say_yellow "Clearing DNF cache..."
|
||||||
sudo dnf clean metadata
|
sudo dnf clean metadata
|
||||||
|
|||||||
Reference in New Issue
Block a user