Compare commits
3 Commits
e7d7e6961f
...
main
| Author | SHA1 | Date | |
|---|---|---|---|
|
bf39c5b9ab
|
|||
|
1af2d440db
|
|||
|
e9abeccdea
|
@@ -46,6 +46,7 @@ jobs:
|
||||
--delete \
|
||||
--chmod D755,F644 \
|
||||
--include="index.html" \
|
||||
--include="*.repo" \
|
||||
--include="assets/***" \
|
||||
--exclude="*" \
|
||||
ui/dist/ \
|
||||
|
||||
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@@ -0,0 +1 @@
|
||||
.claude/
|
||||
@@ -11,9 +11,6 @@ server {
|
||||
root /var/www/rpm;
|
||||
|
||||
include /etc/nginx/mime.types;
|
||||
types {
|
||||
application/x-rpm rpm;
|
||||
}
|
||||
default_type application/octet-stream;
|
||||
|
||||
location /assets/ {
|
||||
|
||||
6
ui/public/lair-cafe-unstable.repo
Normal file
6
ui/public/lair-cafe-unstable.repo
Normal file
@@ -0,0 +1,6 @@
|
||||
[lair-cafe-unstable]
|
||||
name=lair.cafe RPM Repository (unstable)
|
||||
baseurl=https://rpm.lair.cafe/fedora/$releasever/$basearch/unstable/
|
||||
enabled=0
|
||||
gpgcheck=1
|
||||
gpgkey=https://rpm.lair.cafe/8b2023ce.gpg
|
||||
6
ui/public/lair-cafe.repo
Normal file
6
ui/public/lair-cafe.repo
Normal file
@@ -0,0 +1,6 @@
|
||||
[lair-cafe]
|
||||
name=lair.cafe RPM Repository
|
||||
baseurl=https://rpm.lair.cafe/fedora/$releasever/$basearch/
|
||||
enabled=1
|
||||
gpgcheck=1
|
||||
gpgkey=https://rpm.lair.cafe/8b2023ce.gpg
|
||||
@@ -2,20 +2,8 @@ import { Card, Col, Row } from "react-bootstrap";
|
||||
import { CodeBlock } from "../components/CodeBlock.tsx";
|
||||
|
||||
const GPG_KEY_URL = "https://rpm.lair.cafe/8b2023ce.gpg";
|
||||
|
||||
const REPO_FILE = `[lair-cafe]
|
||||
name=lair.cafe RPM Repository
|
||||
baseurl=https://rpm.lair.cafe/fedora/$releasever/$basearch/
|
||||
enabled=1
|
||||
gpgcheck=1
|
||||
gpgkey=${GPG_KEY_URL}`;
|
||||
|
||||
const UNSTABLE_REPO_FILE = `[lair-cafe-unstable]
|
||||
name=lair.cafe RPM Repository (unstable)
|
||||
baseurl=https://rpm.lair.cafe/fedora/$releasever/$basearch/unstable/
|
||||
enabled=0
|
||||
gpgcheck=1
|
||||
gpgkey=${GPG_KEY_URL}`;
|
||||
const REPO_URL = "https://rpm.lair.cafe/lair-cafe.repo";
|
||||
const UNSTABLE_REPO_URL = "https://rpm.lair.cafe/lair-cafe-unstable.repo";
|
||||
|
||||
export function Home() {
|
||||
return (
|
||||
@@ -40,7 +28,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 dnf config-manager addrepo --from-repofile=${REPO_URL}`}
|
||||
</CodeBlock>
|
||||
|
||||
<h6 className="mt-4">3. Install a package</h6>
|
||||
@@ -74,7 +62,7 @@ export function Home() {
|
||||
stable repo:
|
||||
</p>
|
||||
<CodeBlock language="bash">
|
||||
{`sudo dnf config-manager addrepo --from-repofile=/dev/stdin <<'EOF'\n${UNSTABLE_REPO_FILE}\nEOF`}
|
||||
{`sudo dnf config-manager addrepo --from-repofile=${UNSTABLE_REPO_URL}`}
|
||||
</CodeBlock>
|
||||
|
||||
<h6 className="mt-4">
|
||||
|
||||
Reference in New Issue
Block a user