mirror of
https://gitlab.com/dslackw/slpkg.git
synced 2025-01-05 11:02:14 +01:00
Fixed for multi updates
This commit is contained in:
parent
0c93ed2efb
commit
f3f32ac293
1 changed files with 4 additions and 2 deletions
|
@ -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}' "
|
||||
|
|
Loading…
Reference in a new issue