瀏覽代碼

update nfpm to 2.22.1

Signed-off-by: Nicola Murino <[email protected]>
Nicola Murino 2 年之前
父節點
當前提交
f64056b820
共有 1 個文件被更改,包括 4 次插入4 次删除
  1. 4 4
      pkgs/build.sh

+ 4 - 4
pkgs/build.sh

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