mirror of
https://github.com/mudler/luet.git
synced 2025-09-16 07:10:29 +00:00
cmd/repo/update: Update only enabled repo
This commit is contained in:
@@ -62,7 +62,7 @@ $> luet repo update repo1 repo2
|
||||
|
||||
} else {
|
||||
for _, repo := range LuetCfg.SystemRepositories {
|
||||
if repo.Cached {
|
||||
if repo.Cached && repo.Enable {
|
||||
r := installer.NewSystemRepository(repo)
|
||||
Spinner(32)
|
||||
_, err := r.Sync(force)
|
||||
|
Reference in New Issue
Block a user