Try 07
This commit is contained in:
parent
e471b654a6
commit
e7db46bc6f
|
@ -61,6 +61,8 @@ func (hr *APKRepository) Add() error {
|
||||||
defer file.Close()
|
defer file.Close()
|
||||||
if _, err := file.WriteString(data); err != nil {
|
if _, err := file.WriteString(data); err != nil {
|
||||||
return err
|
return err
|
||||||
|
} else {
|
||||||
|
log.Printf("Repository %s added\n", hr.Name)
|
||||||
}
|
}
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue