cmd/repo/update: Update only enabled repo

This commit is contained in:
Daniele Rondina
2020-03-23 23:40:27 +01:00
parent 6bd8fe6789
commit 4e461fd6be

View File

@@ -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)