From b4f913c7071d3e9b46192628b6aa2b666520078e Mon Sep 17 00:00:00 2001 From: Philippe Caseiro Date: Thu, 30 Jun 2022 10:00:45 +0200 Subject: [PATCH] Try 07 --- pkg/templater/repo-apk.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pkg/templater/repo-apk.go b/pkg/templater/repo-apk.go index 9aa3538..5ca7c41 100644 --- a/pkg/templater/repo-apk.go +++ b/pkg/templater/repo-apk.go @@ -30,7 +30,7 @@ func (hr *APKRepository) urlIsPresent() (bool, error) { line := 1 for scanner.Scan() { if strings.Contains(scanner.Text(), hr.URL) { - log.Printf("Repository %s already present\n", hr.Name) + log.Printf("\tRepository %s already present\n", hr.Name) return true, nil } line++ @@ -93,6 +93,7 @@ func (hr *APKRepository) Manage() error { if err := hr.Add(); err != nil { return err } + log.Println("\tUpdating apk repositories") return hr.Update() } else { return hr.Delete()