aboutsummaryrefslogtreecommitdiffstats
path: root/templates/package
diff options
context:
space:
mode:
authorKN4CK3R <admin@oldschoolhack.me>2023-06-16 17:56:49 +0200
committerGitHub <noreply@github.com>2023-06-16 11:56:49 -0400
commit86d019682f0406e6e1739a31d72a2686ff8764cb (patch)
treed41ad5aa9baf07293a8da45cbd60595f481a699c /templates/package
parentb71cb7acdc8840c9fc16b496c90a048051d15823 (diff)
downloadgitea-86d019682f0406e6e1739a31d72a2686ff8764cb.tar.gz
gitea-86d019682f0406e6e1739a31d72a2686ff8764cb.zip
Fix displayed RPM repo url (#25310)
Fixes #25302
Diffstat (limited to 'templates/package')
-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>