36
36
"""Reconfigure the package in non-interactive mode."""
37
39
# XXX It seems that some packages (e.g. postfix) are not happy with
38
40
# the 'noninteractive' frontend, and don't really reconfigure
39
41
# anything in that case. Using the editor frontend and pointing
40
42
# the editor to a no-op like /bin/true workarounds the problem.
42
43
env["EDITOR"] = "/bin/true"
44
DPKG_RECONFIGURE, "-feditor", self._package], env=env)
46
52
def _format_option(self, name, value):
47
53
"""Format an option line to feed to debconf-set-selections."""