Updated for repos checks

This commit is contained in:
Dimitris Zlatanidis 2023-03-21 22:04:50 +02:00
parent e0a1204e5d
commit 2003223f50
2 changed files with 4 additions and 2 deletions

View file

@ -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}')

View file

@ -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():