update: Make it work with the new repo format

This commit is contained in:
ngn 2024-04-01 01:01:56 +03:00
parent 787727b425
commit 40e48eaf83

View File

@ -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
}