1
1
Fork 0
mirror of https://github.com/goreleaser/nfpm synced 2024-06-07 03:16:19 +02:00
nfpm/testdata/acceptance/scripts
Joakim Karlsson 7701bb950c
feat: Support for deb's config maintenance script (#317)
* 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
2021-04-14 14:43:42 +00:00
..
config feat: Support for deb's config maintenance script (#317) 2021-04-14 14:43:42 +00:00
postinstall.sh feat: try to clean up and simplify the file adding interface (#255) 2020-12-15 13:47:00 -03:00
postinstall_trigger.sh feat: try to clean up and simplify the file adding interface (#255) 2020-12-15 13:47:00 -03:00
postremove.sh feat: try to clean up and simplify the file adding interface (#255) 2020-12-15 13:47:00 -03:00
preinstall.sh feat: try to clean up and simplify the file adding interface (#255) 2020-12-15 13:47:00 -03:00
preremove.sh feat: try to clean up and simplify the file adding interface (#255) 2020-12-15 13:47:00 -03:00
rules.sh feat: try to clean up and simplify the file adding interface (#255) 2020-12-15 13:47:00 -03:00
templates feat: Support for deb's config maintenance script (#317) 2021-04-14 14:43:42 +00:00