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

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:
2026-04-27 13:33:46 +03:00
parent 10263e4a2b
commit 6647ed299d
2 changed files with 5 additions and 5 deletions

View File

@@ -126,10 +126,10 @@ sudo dnf install sequoia-sq
```bash
sudo rpm --import https://rpm.lair.cafe/<short-id>.gpg
sudo dnf config-manager addrepo --from-repofile=/dev/stdin <<EOF
[lair-rpm]
name=lair.cafe RPM repo
baseurl=https://rpm.lair.cafe/fedora/43/x86_64
sudo tee /etc/yum.repos.d/lair-cafe.repo > /dev/null <<'EOF'
[lair-cafe]
name=lair.cafe RPM Repository
baseurl=https://rpm.lair.cafe/fedora/$releasever/$basearch/
enabled=1
gpgcheck=1
gpgkey=https://rpm.lair.cafe/<short-id>.gpg

View File

@@ -33,7 +33,7 @@ export function Home() {
<h6 className="mt-4">2. Add the repository</h6>
<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>
<h6 className="mt-4">3. Install a package</h6>