mirror of
https://gitlab.com/dslackw/slpkg.git
synced 2025-01-20 10:26:44 +01:00
Updated for repos checks
This commit is contained in:
parent
e0a1204e5d
commit
2003223f50
2 changed files with 4 additions and 2 deletions
|
@ -82,7 +82,8 @@ class CheckUpdates(Configs):
|
|||
print()
|
||||
for repo, comp in compare.items():
|
||||
if comp:
|
||||
print(f"\n{self.bgreen}There are new updates available for the '{repo}' repository!{self.endc}")
|
||||
print(f"\n{self.green}There are new updates available for the{self.endc} "
|
||||
f"'{self.bgreen}{repo}{self.endc}'{self.green} repository!{self.endc}")
|
||||
|
||||
if True not in compare.values():
|
||||
print(f'\n{self.endc}{self.yellow}No updated packages since the last check.{self.endc}')
|
||||
|
|
|
@ -151,7 +151,8 @@ class UpdateRepository(Configs):
|
|||
|
||||
for repo, comp in compare.items():
|
||||
if comp:
|
||||
print(f"\n\n{self.bgreen}There are new updates available for '{repo}' repository!{self.endc}")
|
||||
print(f"\n\n{self.green}There are new updates available for the{self.endc} "
|
||||
f"'{self.bgreen}{repo}{self.endc}'{self.green} repository!{self.endc}")
|
||||
is_update: int = 1
|
||||
|
||||
if True not in compare.values():
|
||||
|
|
Loading…
Reference in a new issue