Commit 9f496741 by Cédric de Saint Martin

Merge branch 'autoupdate'

2 parents dd9436e0 04935861
......@@ -37,7 +37,7 @@ import os
import subprocess as sub
import sys
import tempfile
import autoupdate
# create console handler and set level to warning
ch = logging.StreamHandler()
......@@ -269,6 +269,7 @@ def update_machine(config):
else :
logger.info("We will now upgrade your packages")
update_software()
autoupdate.do_update()
else:
if config.last_upgrade < config.upgrade :
# Purge repositories list and add new ones
......@@ -282,6 +283,7 @@ def update_machine(config):
else:
logger.info("We will now upgrade your packages")
update_software()
autoupdate.do_update()
else :
logger.info("Your system is up to date")
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!