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:23:45 +01:00
parent fc1ba36ae5
commit 7b00fe3d5a
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.22.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"