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

View File

@ -50,10 +50,10 @@ func (hr *APKRepository) Add() error {
} }
if URLIsPresent { if URLIsPresent {
fmt.Printf("DEBUG %v", URLIsPresent) fmt.Printf("DEBUG %v\n", URLIsPresent)
return nil return nil
} else { } else {
data := fmt.Sprintf("%s", hr.URL) data := fmt.Sprintf("%s\n", hr.URL)
fmt.Printf("DEBUG %v", data) fmt.Printf("DEBUG %v", data)
file, err := os.OpenFile(APKConfigFile, 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 {