Fixed for multi updates

This commit is contained in:
Dimitris Zlatanidis 2023-03-22 18:43:28 +02:00
parent 0c93ed2efb
commit f3f32ac293

View file

@ -59,7 +59,8 @@ class UpdateRepository(Configs):
def binary_repositories(self):
""" Update the binary repositories. """
if self.repos.gnome_repo and self.repository == self.repos.gnome_repo_name or self.repository == '*':
if (self.repos.gnome_repo and self.repository == self.repos.gnome_repo_name or
self.repos.conraid_repo and self.repository == '*' or self.repos.gnome_repo and not self.repository):
urls: list = []
print('Updating the packages list...\n')
print(f"Downloading the '{self.green}{self.repos.gnome_repo_name}{self.endc}' repository, please wait...\n")
@ -79,7 +80,8 @@ class UpdateRepository(Configs):
self.data.install_gnome_data()
print()
if self.repos.conraid_repo and self.repository == self.repos.conraid_repo_name or self.repository == '*':
if (self.repos.conraid_repo and self.repository == self.repos.conraid_repo_name or
self.repos.conraid_repo and self.repository == '*' or self.repos.conraid_repo and not self.repository):
urls: list = []
print('Updating the packages list...\n')
print(f"Downloading the '{self.green}{self.repos.conraid_repo_name}{self.endc}' "