1
mirror of https://github.com/rclone/rclone synced 2024-12-26 18:23:45 +01:00

build: update nfpm syntax to fix build of .deb/.rpm packages

This commit is contained in:
Nick Craig-Wood 2020-12-26 18:36:16 +00:00
parent dcbe62ab0a
commit a94e4d803b

View File

@ -15,10 +15,12 @@ description: |
vendor: "rclone"
homepage: "https://rclone.org"
license: "MIT"
# No longer supported? See https://github.com/goreleaser/nfpm/issues/144
# bindir: "/usr/bin"
files:
./rclone: "/usr/bin/rclone"
./README.html: "/usr/share/doc/rclone/README.html"
./README.txt: "/usr/share/doc/rclone/README.txt"
./rclone.1: "/usr/share/man/man1/rclone.1"
contents:
- src: ./rclone
dst: /usr/bin/rclone
- src: ./README.html
dst: /usr/share/doc/rclone/README.html
- src: ./README.txt
dst: /usr/share/doc/rclone/README.txt
- src: ./rclone.1
dst: /usr/share/man/man1/rclone.1