diff options
author | Giteabot <teabot@gitea.io> | 2023-06-16 12:39:41 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-06-16 16:39:41 +0000 |
commit | 25cb1fb9944faafc0754997bf80da44cecfad426 (patch) | |
tree | 5ad8769c556d5f6411167329853db77e82c074f0 /templates | |
parent | e5422db5c76411780fb218f058ad1a689c876f7a (diff) | |
download | gitea-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.tmpl | 2 |
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> |