mirror of
https://github.com/goreleaser/nfpm
synced 2025-12-23 01:55:14 +01:00
* 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
4 lines
88 B
Plaintext
4 lines
88 B
Plaintext
Template: templates/acceptance
|
|
Type: string
|
|
Description: A setting for acceptance tests
|