mirror of
https://github.com/goreleaser/nfpm
synced 2024-05-20 22:46:10 +02:00
7701bb950c
* feat: Support for deb's config maintenance script With debconf, the config script is responsible for asking any questions necessary to configure a package [1]. Without this, we're forced to ask questions in postinst, which is against best practices [2]. This commit adds the possibility to include a config script when using debconf like so: ```yaml deb: scripts: templates: ./my/templates config: ./my/config ``` [1] https://manpages.debian.org/jessie/debconf-doc/debconf-devel.7.en.html#THE_CONFIG_SCRIPT [2] https://manpages.debian.org/jessie/debconf-doc/debconf-devel.7.en.html#THE_POSTINST_SCRIPT * docs: Add info about deb config maintainer script |
||
---|---|---|
.. | ||
acceptance | ||
globtest | ||
scripts | ||
changelog.yaml | ||
contents.yaml | ||
contents_glob.yaml | ||
env-fields.yaml | ||
fake | ||
main.go | ||
overrides.yaml | ||
whatever.conf | ||
whatever2.conf | ||
{file}[ |