Skip to content

Commit

Permalink
fix: wrong URL to PKGBUILD for multilib packages
Browse files Browse the repository at this point in the history
PKGBUILD for "multilib" packages should be displayed now

Signed-off-by: moson-mo <mo-son@mailbox.org>
  • Loading branch information
moson-mo committed Aug 21, 2022
1 parent 625fc49 commit 0088fdb
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion internal/pacseek/pkgbuild.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,8 @@ func getPkgbuildUrl(source, base string, isArm bool) string {
url := fmt.Sprintf(UrlAurPkgbuild, base)
if source != "AUR" {
repo := "packages"
if strings.Contains(source, "community") {
if strings.Contains(source, "community") ||
source == "multilib" {
repo = "community"
}
url = fmt.Sprintf(UrlRepoPkgbuild, repo, base)
Expand Down

0 comments on commit 0088fdb

Please sign in to comment.