mirror of
https://gitlab.com/dslackw/slpkg.git
synced 2025-01-18 10:26:29 +01:00
Fixed for enabled repos
This commit is contained in:
parent
981196d8ff
commit
1f0c934e96
2 changed files with 1 additions and 2 deletions
|
@ -306,7 +306,7 @@ class Argparse(Configs):
|
|||
'-c', 'check-updates',
|
||||
]
|
||||
|
||||
if self.binary_repo in self.repos.bin_repos_names and self.binary_repo not in self.repos.bin_enabled_repos:
|
||||
if self.binary_repo in self.repos.bin_repos_names and not self.repos.repositories[self.binary_repo][0]:
|
||||
self.usage.help_minimal(f"{self.prog_name}: repository '{self.binary_repo}' is disabled")
|
||||
|
||||
elif self.binary_repo == '*' and not self.utils.is_option(except_options, self.args):
|
||||
|
|
|
@ -21,7 +21,6 @@ class Repositories:
|
|||
repos_config = {}
|
||||
repositories = {}
|
||||
bin_repos_name = []
|
||||
bin_enabled_repos = []
|
||||
|
||||
sbo_repo: bool = True
|
||||
sbo_repo_name: str = 'sbo'
|
||||
|
|
Loading…
Reference in a new issue