{{if eq .PackageDescriptor.Package.Type "debian"}}
sudo curl -o /etc/apt/trusted.gpg.d/gitea-{{$.PackageDescriptor.Owner.Name}}.asc
echo "deb <distribution> <component>" | sudo tee -a /etc/apt/sources.list.d/gitea.list
sudo apt update
{{.locale.Tr "packages.debian.registry.info" | Safe}}
sudo apt install {{$.PackageDescriptor.Package.Name}}={{$.PackageDescriptor.Version.Version}}
{{.locale.Tr "packages.debian.repository.distributions"}} |
{{Join .Distributions ", "}} |
{{.locale.Tr "packages.debian.repository.components"}} |
{{Join .Components ", "}} |
{{.locale.Tr "packages.debian.repository.architectures"}} |
{{Join .Architectures ", "}} |
{{.}} |