annotate xslt/version.xslt @ 2662:e4d370d43176
Linux packages: removed apt-key usage to import gpg keys on Debian/Ubuntu.
apt-key is deprecated since 2017 and will be removed after Debian 11 and Ubuntu 22.04.
All distributions since at least 2013 support storing trusted keys in
/etc/apt/trusted.gpg.d/ instead, so using it should be safe.
A special workaround is added for Ubuntu 16.04 shipping gnupg 2.1, which is not
compatible with the CLI invocation we use.
author |
Konstantin Pavlov <thresh@nginx.com> |
date |
Wed, 17 Feb 2021 16:39:40 +0300 |
parents |
7e662eae0429 |
children |
|
rev |
line source |
597
|
1 <?xml version="1.0" encoding="utf-8"?>
|
1225
|
2 <!--
|
|
3 Copyright (C) Igor Sysoev
|
|
4 Copyright (C) Nginx, Inc.
|
|
5 -->
|
|
6
|
597
|
7 <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
|
|
8
|
1225
|
9 <xsl:param select="'development'" name="VERSION"/>
|
597
|
10
|
1225
|
11 <xsl:output method="text"/>
|
|
12
|
|
13 <xsl:template match="/versions"> <xsl:apply-templates select="download[@tag=$VERSION][1]/item[1]/@ver"/> </xsl:template>
|
597
|
14
|
|
15 </xsl:stylesheet>
|