mirror of
https://github.com/goreleaser/nfpm
synced 2024-09-22 05:43:03 +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
5 lines
44 B
Bash
5 lines
44 B
Bash
#!/bin/bash
|
|
|
|
echo "Ok" > /tmp/config-proof
|
|
|