mirror of
https://gitlab.com/dslackw/slpkg.git
synced 2025-01-18 10:26:29 +01:00
Update lists
This commit is contained in:
parent
a7b6e0c230
commit
214b7165ee
2 changed files with 2 additions and 2 deletions
|
@ -204,7 +204,7 @@ class Patches(object):
|
|||
"""
|
||||
for core in self.upgrade_all:
|
||||
if "kernel" in core:
|
||||
if self.meta.default_answer == "y":
|
||||
if self.meta.default_answer in ["y", "Y"]:
|
||||
answer = self.meta.default_answer
|
||||
else:
|
||||
print("")
|
||||
|
|
|
@ -52,7 +52,7 @@ def it_self_update():
|
|||
if line.startswith("__version_info__"):
|
||||
__new_version__ = ".".join(re.findall(r"\d+", line))
|
||||
if __new_version__ > _meta_.__version__:
|
||||
if _meta_.default_answer == "y":
|
||||
if _meta_.default_answer in ["y", "Y"]:
|
||||
answer = _meta_.default_answer
|
||||
else:
|
||||
print("\nNew version '{0}-{1}' is available !\n".format(
|
||||
|
|
Loading…
Reference in a new issue