mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2026-05-12 22:10:25 +00:00
fix: RPM registry addrepo instructions (#11478)
The provided instructions for how to add RPM package repo fail on Fedora 43: ``` Unknown argument "--add-repo" for command "config-manager". Add "--help" for more information about the arguments. ``` The [docs](https://forgejo.org/docs/latest/user/packages/rpm/#configuring-the-package-registry-using-dnf5) contain a different command, which does work. This changes instructions to match docs. Co-authored-by: sarge <ephemeralsarge@example.com> Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/11478 Reviewed-by: Gusted <gusted@noreply.codeberg.org> Co-authored-by: sarge <sarge@noreply.codeberg.org> Co-committed-by: sarge <sarge@noreply.codeberg.org>
This commit is contained in:
parent
4d2eafdd8e
commit
ae0d0b5b09
1 changed files with 1 additions and 1 deletions
|
|
@ -11,7 +11,7 @@
|
|||
# {{ctx.Locale.Tr "packages.rpm.distros.redhat"}}
|
||||
{{- range $group := .Groups}}
|
||||
{{- if $group}}{{$group = print "/" $group}}{{end}}
|
||||
dnf config-manager --add-repo <origin-url data-url="{{AppSubUrl}}/api/packages/{{$.PackageDescriptor.Owner.Name}}/rpm{{$group}}.repo"></origin-url>
|
||||
dnf config-manager addrepo --from-repofile="<origin-url data-url="{{AppSubUrl}}/api/packages/{{$.PackageDescriptor.Owner.Name}}/rpm{{$group}}.repo"></origin-url>"
|
||||
{{- end}}
|
||||
|
||||
# {{ctx.Locale.Tr "packages.rpm.distros.suse"}}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue