Browse Source

update nfpm to 2.22.1

Signed-off-by: Nicola Murino <nicola.murino@gmail.com>
Nicola Murino 2 years ago
parent
commit
7b00fe3d5a
1 changed files with 4 additions and 4 deletions
  1. 4 4
      pkgs/build.sh

+ 4 - 4
pkgs/build.sh

@@ -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"