Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Support for deb's config maintenance script #317

Merged

Commits on Apr 11, 2021

  1. 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
    joakimkarlsson committed Apr 11, 2021
    Configuration menu
    Copy the full SHA
    106d245 View commit details
    Browse the repository at this point in the history

Commits on Apr 14, 2021

  1. Configuration menu
    Copy the full SHA
    283e924 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    a117877 View commit details
    Browse the repository at this point in the history