Skip to content

Commit 56a8afc

Browse files
committed
did not syntaxhiglight so rm it again
1 parent 6714e6e commit 56a8afc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

templates/package/content/debian.tmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<div class="ui form">
55
<div class="field">
66
<label>{{svg "octicon-terminal"}} {{ctx.Locale.Tr "packages.debian.registry"}}</label>
7-
<div class="markup"><pre class="code-block"><code class="chroma language-shell display">{{if gt (len .Distributions) 1}}DISTRIBUTION="" # {{ctx.Locale.Tr "packages.debian.registry.one_of_vars"}} {{StringUtils.Join .Distributions ", "}}
7+
<div class="markup"><pre class="code-block"><code>{{if gt (len .Distributions) 1}}DISTRIBUTION="" # {{ctx.Locale.Tr "packages.debian.registry.one_of_vars"}} {{StringUtils.Join .Distributions ", "}}
88
{{end}}{{if gt (len .Components) 1}}COMPONENT="" # {{ctx.Locale.Tr "packages.debian.registry.one_of_vars"}} {{StringUtils.Join .Components ", "}}
99
{{end}}sudo curl <origin-url data-url="{{AppSubUrl}}/api/packages/{{$.PackageDescriptor.Owner.Name}}/debian/repository.key"></origin-url> -o /etc/apt/keyrings/gitea-{{$.PackageDescriptor.Owner.Name}}.asc
1010
echo "deb [signed-by=/etc/apt/keyrings/gitea-{{$.PackageDescriptor.Owner.Name}}.asc] <origin-url data-url="{{AppSubUrl}}/api/packages/{{$.PackageDescriptor.Owner.Name}}/debian"></origin-url> {{if eq (len .Distributions) 1}}{{index .Distributions 0}}{{else}}$DISTRIBUTION{{end}} {{if eq (len .Components) 1}}{{index .Components 0}}{{else}}$COMPONENT{{end}}" | sudo tee -a /etc/apt/sources.list.d/gitea.list

0 commit comments

Comments
 (0)