|
|
@ -29,6 +29,7 @@ from calculate.lib.utils.colortext.palette import TextState
|
|
|
|
from calculate.lib.utils.colortext import get_color_print
|
|
|
|
from calculate.lib.utils.colortext import get_color_print
|
|
|
|
from calculate.update.emerge_parser import RevdepPercentBlock
|
|
|
|
from calculate.update.emerge_parser import RevdepPercentBlock
|
|
|
|
from calculate.update.datavars import DataVarsUpdate
|
|
|
|
from calculate.update.datavars import DataVarsUpdate
|
|
|
|
|
|
|
|
from calculate.update.update_info import UpdateInfo
|
|
|
|
import re
|
|
|
|
import re
|
|
|
|
from collections import MutableSet
|
|
|
|
from collections import MutableSet
|
|
|
|
|
|
|
|
|
|
|
@ -743,8 +744,7 @@ class Update:
|
|
|
|
"""
|
|
|
|
"""
|
|
|
|
Установить флаг: есть обновления
|
|
|
|
Установить флаг: есть обновления
|
|
|
|
"""
|
|
|
|
"""
|
|
|
|
val = "on" if val else "off"
|
|
|
|
UpdateInfo.set_update_ready(val)
|
|
|
|
SystemIni().setVar('update', {'packages': val})
|
|
|
|
|
|
|
|
return True
|
|
|
|
return True
|
|
|
|
|
|
|
|
|
|
|
|
def _emerge_translate(self, s):
|
|
|
|
def _emerge_translate(self, s):
|
|
|
|