Skip to content
Browse files
docs: note trailing slash on nfpm
  • Loading branch information
caarlos0 committed Nov 20, 2022
1 parent de254d5 commit b76b65875d2e60d63ff571000f4c6c890c8dd70c
Showing 1 changed file with 5 additions and 0 deletions.
@@ -214,6 +214,11 @@ nfpms:
owner: notRoot
group: notRoot
# If `dst` ends with a `/`, it'll create the given path and copy the given
# `src` into it, the same way `cp` works with and without trailing `/`.
- src: ./foo/bar/*
dst: /usr/local/myapp/
# Using the type 'dir', empty directories can be created. When building
# RPMs, however, this type has another important purpose: Claiming
# ownership of that folder. This is important because when upgrading or

0 comments on commit b76b658

Please sign in to comment.