mirror of
https://gitlab.com/dslackw/slpkg.git
synced 2024-12-27 09:58:10 +01:00
Bugfix update custom repositories
Signed-off-by: Dimitris Zlatanidis <d.zlatanidis@gmail.com>
This commit is contained in:
parent
95ff953f53
commit
c18eccfa94
3 changed files with 7 additions and 3 deletions
|
@ -1,8 +1,11 @@
|
|||
3.9.7 - 02/04/2022
|
||||
3.9.7 - 08/05/2022
|
||||
Fixed:
|
||||
- Stderr error output
|
||||
Updated:
|
||||
- Improve dependencies resolve speed
|
||||
Bugfix:
|
||||
- Update custom repositories
|
||||
- Passing repositories manual
|
||||
|
||||
3.9.6 - 02/04/2022
|
||||
Updated:
|
||||
|
|
|
@ -762,6 +762,7 @@ class Update:
|
|||
print("\nCheck and update repositories:\n")
|
||||
default = self.meta.default_repositories
|
||||
enabled = self.meta.repositories
|
||||
custom = Repo().custom_repository()
|
||||
|
||||
# Replace the enabled repositories from user defined
|
||||
if repos:
|
||||
|
@ -776,7 +777,7 @@ class Update:
|
|||
if repo in default:
|
||||
getattr(Initialization(False), repo)()
|
||||
print(self.done, end="")
|
||||
elif repo in enabled:
|
||||
elif repo in custom:
|
||||
Initialization(False).custom(repo)
|
||||
print(self.done, end="")
|
||||
else:
|
||||
|
|
|
@ -130,7 +130,7 @@ class ArgParse(BlackList):
|
|||
repos = self.args[1].split("=")[-1].split(",")
|
||||
for rp in repos:
|
||||
if rp not in self.meta.repositories:
|
||||
repos.remove(rp)
|
||||
usage(rp, 1)
|
||||
update.run(repos)
|
||||
else:
|
||||
usage("", 1)
|
||||
|
|
Loading…
Reference in a new issue