From cfd9d276d983062801d6f548e37efdbe20e1621d Mon Sep 17 00:00:00 2001 From: lea Date: Mon, 23 Dec 2024 01:30:29 -0800 Subject: [PATCH] fix(terra): don't use releasever variable in instructions terrapkg/packages#2716 --- pages/andaman/installation.mdx | 2 +- pages/terra/installing.mdx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pages/andaman/installation.mdx b/pages/andaman/installation.mdx index df6f5eb..7aa18dc 100644 --- a/pages/andaman/installation.mdx +++ b/pages/andaman/installation.mdx @@ -15,7 +15,7 @@ Ultramarine comes with the Terra Repository, simply install Andaman! First, install the [Terra Repository](https://terra.fyralabs.com) -`sudo dnf install --repofrompath 'terra,https://repos.fyralabs.com/terra$releasever' --setopt='terra.gpgkey=https://repos.fyralabs.com/terra$releasever/key.asc' terra-release` +`sudo dnf install --repofrompath "terra,https://repos.fyralabs.com/terra$(rpm -E %fedora)" --setopt="terra.gpgkey=https://repos.fyralabs.com/terra$(rpm -E %fedora)/key.asc" terra-release` Then, install Andaman diff --git a/pages/terra/installing.mdx b/pages/terra/installing.mdx index 476c112..180ad7c 100644 --- a/pages/terra/installing.mdx +++ b/pages/terra/installing.mdx @@ -25,7 +25,7 @@ sudo rpm-ostree install terra-release Directly install `terra-release`: ```sh -$ sudo dnf install --repofrompath 'terra,https://repos.fyralabs.com/terra$releasever' --setopt='terra.gpgkey=https://repos.fyralabs.com/terra$releasever/key.asc' terra-release +$ sudo dnf install --repofrompath "terra,https://repos.fyralabs.com/terra$(rpm -E %fedora)" --setopt="terra.gpgkey=https://repos.fyralabs.com/terra$(rpm -E %fedora)/key.asc" terra-release ```