Try 07
This commit is contained in:
parent
9ad8c26c67
commit
8a469e0f95
|
@ -53,6 +53,7 @@ func (hr *APKRepository) Add() error {
|
|||
return nil
|
||||
} else {
|
||||
data := fmt.Sprintf("%s", hr.URL)
|
||||
fmt.Printf("DEBUG %v", data)
|
||||
file, err := os.OpenFile("/etc/apk/repositories", os.O_APPEND|os.O_WRONLY, 0644)
|
||||
if err != nil {
|
||||
return err
|
||||
|
|
Loading…
Reference in New Issue