update: Make it work with the new repo format
This commit is contained in:
parent
787727b425
commit
40e48eaf83
@ -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
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user