mirror of
https://github.com/goreleaser/nfpm
synced 2024-09-28 15:53:00 +02:00
docs: Add overrides section to example config
I noticed that the new feature of pre- und postinstall scripts isn't reflected in the output of the example config file. This commit adds the missing parts to make it clearer that this feature is available. See #19
This commit is contained in:
parent
5baf8976dc
commit
81b010414f
@ -116,4 +116,13 @@ files:
|
||||
./bar: "/usr/local/bin/bar"
|
||||
config_files:
|
||||
./foobar.conf: "/etc/foobar.conf"
|
||||
overrides:
|
||||
rpm:
|
||||
scripts:
|
||||
preinstall: ./scripts/preinstall.sh
|
||||
postremove: ./scripts/postremove.sh
|
||||
deb:
|
||||
scripts:
|
||||
postinstall: ./scripts/postinstall.sh
|
||||
preremove: ./scripts/preremove.sh
|
||||
`
|
||||
|
Loading…
Reference in New Issue
Block a user