This commit is contained in:
Philippe Caseiro 2022-06-29 16:24:04 +02:00
parent 7d38dcd5b1
commit bee4c25f1f
1 changed files with 1 additions and 1 deletions

View File

@ -55,7 +55,7 @@ func (hr *APKRepository) Add() error {
} else { } else {
data := fmt.Sprintf("%s", hr.URL) data := fmt.Sprintf("%s", hr.URL)
fmt.Printf("DEBUG %v", data) 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 { if err != nil {
return err return err
} }