update nfpm to 2.22.1

Signed-off-by: Nicola Murino <nicola.murino@gmail.com>
This commit is contained in:
Nicola Murino 2022-11-20 15:40:44 +01:00
parent 7e6d944cb5
commit f64056b820
No known key found for this signature in database
GPG key ID: 935D2952DEC4EECF

View file

@ -1,6 +1,6 @@
#!/bin/bash #!/bin/bash
NFPM_VERSION=2.21.0 NFPM_VERSION=2.22.1
NFPM_ARCH=${NFPM_ARCH:-amd64} NFPM_ARCH=${NFPM_ARCH:-amd64}
if [ -z ${SFTPGO_VERSION} ] if [ -z ${SFTPGO_VERSION} ]
then then
@ -75,13 +75,13 @@ contents:
dst: "/lib/systemd/system/sftpgo.service" dst: "/lib/systemd/system/sftpgo.service"
- src: "${BASE_DIR}/templates/*" - src: "${BASE_DIR}/templates/*"
dst: "/usr/share/sftpgo/templates/" dst: "/usr/share/sftpgo/templates"
- src: "${BASE_DIR}/static/*" - src: "${BASE_DIR}/static/*"
dst: "/usr/share/sftpgo/static/" dst: "/usr/share/sftpgo/static"
- src: "${BASE_DIR}/openapi/*" - src: "${BASE_DIR}/openapi/*"
dst: "/usr/share/sftpgo/openapi/" dst: "/usr/share/sftpgo/openapi"
- src: "./sftpgo.json" - src: "./sftpgo.json"
dst: "/etc/sftpgo/sftpgo.json" dst: "/etc/sftpgo/sftpgo.json"