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 ...@@ -37,7 +37,7 @@ import os
import subprocess as sub import subprocess as sub
import sys import sys
import tempfile import tempfile
import autoupdate
# create console handler and set level to warning # create console handler and set level to warning
ch = logging.StreamHandler() ch = logging.StreamHandler()
...@@ -269,6 +269,7 @@ def update_machine(config): ...@@ -269,6 +269,7 @@ def update_machine(config):
else : else :
logger.info("We will now upgrade your packages") logger.info("We will now upgrade your packages")
update_software() update_software()
autoupdate.do_update()
else: else:
if config.last_upgrade < config.upgrade : if config.last_upgrade < config.upgrade :
# Purge repositories list and add new ones # Purge repositories list and add new ones
...@@ -282,6 +283,7 @@ def update_machine(config): ...@@ -282,6 +283,7 @@ def update_machine(config):
else: else:
logger.info("We will now upgrade your packages") logger.info("We will now upgrade your packages")
update_software() update_software()
autoupdate.do_update()
else : else :
logger.info("Your system is up to date") 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