mirror of
https://gitlab.com/dslackw/slpkg.git
synced 2025-01-29 20:34:22 +01:00
Updated for install data
This commit is contained in:
parent
301e63a4db
commit
4f9ebdbe5d
1 changed files with 9 additions and 6 deletions
|
@ -78,17 +78,20 @@ class UpdateRepository(Configs):
|
|||
|
||||
if self.option_for_repository:
|
||||
if not self.option_for_install_data:
|
||||
print(f"Downloading the '{self.green}{self.repository}{self.endc}' repository "
|
||||
f"in the '{self.repos.repositories[self.repository]['path']}' folder, please wait...\n")
|
||||
self.view_downloading_message(self.repository)
|
||||
repositories[self.repository]()
|
||||
else:
|
||||
for repo, value in self.repos_for_update.items():
|
||||
if value:
|
||||
print(f"Downloading the '{self.green}{repo}{self.endc}' repository "
|
||||
f"in the '{self.repos.repositories[repo]['path']}' folder, please wait...\n")
|
||||
for repo, update in self.repos_for_update.items():
|
||||
if update:
|
||||
if not self.option_for_install_data:
|
||||
self.view_downloading_message(repo)
|
||||
repositories[repo]()
|
||||
print()
|
||||
|
||||
def view_downloading_message(self, repo: str) -> None:
|
||||
print(f"Downloading the '{self.green}{repo}{self.endc}' repository "
|
||||
f"in the '{self.repos.repositories[repo]['path']}' folder, please wait...\n")
|
||||
|
||||
def slack_repository(self):
|
||||
if not self.option_for_install_data:
|
||||
urls: list = []
|
||||
|
|
Loading…
Add table
Reference in a new issue