summaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authorGiteabot <teabot@gitea.io>2023-06-16 12:39:41 -0400
committerGitHub <noreply@github.com>2023-06-16 16:39:41 +0000
commit25cb1fb9944faafc0754997bf80da44cecfad426 (patch)
tree5ad8769c556d5f6411167329853db77e82c074f0 /templates
parente5422db5c76411780fb218f058ad1a689c876f7a (diff)
downloadgitea-25cb1fb9944faafc0754997bf80da44cecfad426.tar.gz
gitea-25cb1fb9944faafc0754997bf80da44cecfad426.zip
Fix displayed RPM repo url (#25310) (#25313)
Backport #25310 by @KN4CK3R Fixes #25302 Co-authored-by: KN4CK3R <admin@oldschoolhack.me>
Diffstat (limited to 'templates')
-rw-r--r--templates/package/content/rpm.tmpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/package/content/rpm.tmpl b/templates/package/content/rpm.tmpl
index 49a9273771..63bb8b0792 100644
--- a/templates/package/content/rpm.tmpl
+++ b/templates/package/content/rpm.tmpl
@@ -4,7 +4,7 @@
<div class="ui form">
<div class="field">
<label>{{svg "octicon-terminal"}} {{.locale.Tr "packages.rpm.registry"}}</label>
- <div class="markup"><pre class="code-block"><code>dnf config-manager --add-repo <gitea-origin-url data-url="{{AppSubUrl}}/api/packages/{{$.PackageDescriptor.Owner.Name}}/rpm/{{$.PackageDescriptor.Owner.LowerName}}.repo"></gitea-origin-url></code></pre></div>
+ <div class="markup"><pre class="code-block"><code>dnf config-manager --add-repo <gitea-origin-url data-url="{{AppSubUrl}}/api/packages/{{$.PackageDescriptor.Owner.Name}}/rpm.repo"></gitea-origin-url></code></pre></div>
</div>
<div class="field">
<label>{{svg "octicon-terminal"}} {{.locale.Tr "packages.rpm.install"}}</label>