pkgs: update nfpm to 2.7 and use xz as compression for both deb and rpm

This commit is contained in:
Nicola Murino
2021-10-13 09:15:04 +02:00
parent 4aa9686e3b
commit a80ac80fcd
5 changed files with 22 additions and 13 deletions

View File

@@ -1,6 +1,6 @@
#!/bin/bash
NFPM_VERSION=2.6.0
NFPM_VERSION=2.7.0
NFPM_ARCH=${NFPM_ARCH:-amd64}
if [ -z ${SFTPGO_VERSION} ]
then
@@ -111,7 +111,10 @@ overrides:
postremove: ../scripts/rpm/postremove
rpm:
compression: lzma
compression: xz
deb:
compression: xz
EOF