config: Add system section

This commit is contained in:
Daniele Rondina
2019-12-30 21:56:13 +01:00
committed by Ettore Di Giacinto
parent 8b66127016
commit 7f160a7a89
3 changed files with 32 additions and 6 deletions

View File

@@ -76,7 +76,7 @@ func LoadRepositories(c *LuetConfig) error {
}
func LoadRepository(data []byte) (*LuetRepository, error) {
ans := &LuetRepository{}
ans := &LuetRepository{Enable: false}
err := yaml.Unmarshal(data, &ans)
if err != nil {
return nil, err