Skip to content

Commit

Permalink
[updates] Enforce uninteractive conffile policy
Browse files Browse the repository at this point in the history
dpkg will now keep old configuration files if they have been modified,
and will automatically install the new one if they're not.

Signed-off-by: Eugenio Paolantonio (g7) <[email protected]>
  • Loading branch information
g7 committed Feb 2, 2016
1 parent ac8ca32 commit d9b8e95
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions libchannels/updates.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,12 @@

logger = logging.getLogger(__name__)

# APT Configuration

# FIXME: should make this interactive
apt_pkg.config.set("DPkg::Options::", "--force-confdef")
apt_pkg.config.set("DPkg::Options::", "--force-confold")

class Updates:

"""
Expand Down

0 comments on commit d9b8e95

Please sign in to comment.