fix: use tee to write repo file instead of dnf config-manager
All checks were successful
deploy-ui / build-and-deploy (push) Successful in 21s
All checks were successful
deploy-ui / build-and-deploy (push) Successful in 21s
dnf config-manager cannot read from /dev/stdin as a repo file source. Write the repo file directly with tee instead. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -126,10 +126,10 @@ sudo dnf install sequoia-sq
|
|||||||
|
|
||||||
```bash
|
```bash
|
||||||
sudo rpm --import https://rpm.lair.cafe/<short-id>.gpg
|
sudo rpm --import https://rpm.lair.cafe/<short-id>.gpg
|
||||||
sudo dnf config-manager addrepo --from-repofile=/dev/stdin <<EOF
|
sudo tee /etc/yum.repos.d/lair-cafe.repo > /dev/null <<'EOF'
|
||||||
[lair-rpm]
|
[lair-cafe]
|
||||||
name=lair.cafe RPM repo
|
name=lair.cafe RPM Repository
|
||||||
baseurl=https://rpm.lair.cafe/fedora/43/x86_64
|
baseurl=https://rpm.lair.cafe/fedora/$releasever/$basearch/
|
||||||
enabled=1
|
enabled=1
|
||||||
gpgcheck=1
|
gpgcheck=1
|
||||||
gpgkey=https://rpm.lair.cafe/<short-id>.gpg
|
gpgkey=https://rpm.lair.cafe/<short-id>.gpg
|
||||||
|
|||||||
@@ -33,7 +33,7 @@ export function Home() {
|
|||||||
|
|
||||||
<h6 className="mt-4">2. Add the repository</h6>
|
<h6 className="mt-4">2. Add the repository</h6>
|
||||||
<CodeBlock language="bash">
|
<CodeBlock language="bash">
|
||||||
{`sudo dnf config-manager addrepo --from-repofile=/dev/stdin <<'EOF'\n${REPO_FILE}\nEOF`}
|
{`sudo tee /etc/yum.repos.d/lair-cafe.repo > /dev/null <<'EOF'\n${REPO_FILE}\nEOF`}
|
||||||
</CodeBlock>
|
</CodeBlock>
|
||||||
|
|
||||||
<h6 className="mt-4">3. Install a package</h6>
|
<h6 className="mt-4">3. Install a package</h6>
|
||||||
|
|||||||
Reference in New Issue
Block a user