mirror of
https://github.com/Jguer/yay.git
synced 2025-12-07 00:03:15 -05:00
removed alpm dependency from download
This commit is contained in:
parent
df1361aa05
commit
1a8ee2012d
@ -4,15 +4,13 @@ import (
|
||||
"net/http"
|
||||
"sync"
|
||||
|
||||
"github.com/Jguer/go-alpm/v2"
|
||||
|
||||
"github.com/Jguer/yay/v10/pkg/db"
|
||||
"github.com/Jguer/yay/v10/pkg/multierror"
|
||||
"github.com/Jguer/yay/v10/pkg/settings"
|
||||
"github.com/Jguer/yay/v10/pkg/text"
|
||||
)
|
||||
|
||||
func getURLName(pkg alpm.IPackage) string {
|
||||
func getURLName(pkg db.IPackage) string {
|
||||
name := pkg.Base()
|
||||
if name == "" {
|
||||
name = pkg.Name()
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user