Commit 3d2c5b96 authored by Jean-Baptiste Petre's avatar Jean-Baptiste Petre Committed by Cédric de Saint Martin

add autoupdate slappreapre

parent babcb576
......@@ -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