This commit is contained in:
Philippe Caseiro 2022-06-29 16:21:56 +02:00
parent 9ad8c26c67
commit 8a469e0f95
1 changed files with 1 additions and 0 deletions

View File

@ -53,6 +53,7 @@ func (hr *APKRepository) Add() error {
return nil return nil
} else { } else {
data := fmt.Sprintf("%s", hr.URL) 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("/etc/apk/repositories", os.O_APPEND|os.O_WRONLY, 0644)
if err != nil { if err != nil {
return err return err