Try 07
This commit is contained in:
parent
7d38dcd5b1
commit
bee4c25f1f
|
@ -55,7 +55,7 @@ func (hr *APKRepository) Add() error {
|
|||
} 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)
|
||||
file, err := os.OpenFile(APKConfigFile, os.O_APPEND|os.O_WRONLY, 0644)
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue