From c7c3f203b2e92f679e763d35d06a14fe7d817f72 Mon Sep 17 00:00:00 2001 From: Philippe Caseiro Date: Wed, 29 Jun 2022 16:24:31 +0200 Subject: [PATCH] Try 07 --- pkg/templater/repo-apk.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/templater/repo-apk.go b/pkg/templater/repo-apk.go index 43fd5eb..58da528 100644 --- a/pkg/templater/repo-apk.go +++ b/pkg/templater/repo-apk.go @@ -50,10 +50,10 @@ func (hr *APKRepository) Add() error { } if URLIsPresent { - fmt.Printf("DEBUG %v", URLIsPresent) + fmt.Printf("DEBUG %v\n", URLIsPresent) return nil } else { - data := fmt.Sprintf("%s", hr.URL) + data := fmt.Sprintf("%s\n", hr.URL) fmt.Printf("DEBUG %v", data) file, err := os.OpenFile(APKConfigFile, os.O_APPEND|os.O_WRONLY, 0644) if err != nil {