(main) Do not prompt on configuration file update
authorRomain Tartière <romain@blogreen.org>
Mon, 6 Sep 2021 21:31:41 +0000 (11:31 -1000)
committerRomain Tartière <romain@blogreen.org>
Mon, 6 Sep 2021 21:59:09 +0000 (11:59 -1000)
commit287daf99788ff39dd9376b6c4acb8fe0353fa78e
tree051bcdebcc76e26f1b45b87497e61ab2e0499d5d
parent97f697047dbd951a0b0f98dfea587f091464c68c
(main) Do not prompt on configuration file update

When updating configuration file, apt by default prompt the user for the
action to perform.  Since we are running in a non-interactive context,
skip these prompts:

  * `--force-confdef` ensure the configuration file is replaced by a
    newer version in the package if the previous package default
    configuration file was not modified;
  * `--force-confold` keep the configuration file as it is if it has
    been modified compared to the one shipped in the previous version of the
    package.
tasks/init.rb