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