From 40e48eaf832f67ab0c4b6a2d61742f1d46f59970 Mon Sep 17 00:00:00 2001 From: ngn Date: Mon, 1 Apr 2024 01:01:56 +0300 Subject: [PATCH] update: Make it work with the new repo format --- lib/repo.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/repo.go b/lib/repo.go index ab77d73..0003bfb 100644 --- a/lib/repo.go +++ b/lib/repo.go @@ -86,7 +86,7 @@ func LoadPackgae(repo *configparser.ConfigParser, s string) (Package, error) { func GetRepo(r Repo) ([]Package, error){ var pkgs []Package - furl, err := url.JoinPath(r.URL, r.Name+".tar.gz") + furl, err := url.JoinPath(r.URL, "list") if err != nil { return pkgs, err }