Commit 9f496741 authored by Cédric de Saint Martin's avatar Cédric de Saint Martin

Merge branch 'autoupdate'

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")
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment