diff --git a/README.md b/README.md index 85c0a8ad..1c82f036 100644 --- a/README.md +++ b/README.md @@ -39,6 +39,8 @@ Yay was created with a few objectives in mind and based on the design of [yaourt ### Changelog +#### 2.298 +- Adds #115 #### 2.296 - New argument parsing @Morganamilo (check manpage or --help for new information) @@ -58,13 +60,13 @@ Yay was created with a few objectives in mind and based on the design of [yaourt #### 2.219 - Updated manpage - Updated --help -- Fixed AUR update fails with large number of packages #59 -- Check if package is already in upgrade list and skip it. #60 -- Add -V and -h for flag parsing @AnthonyLam -- Prevent file corruption by truncating the files @maximbaz -- Print VCS error details @maximbaz -- Using '-' doesn't raise an error @PietroCarrara -- use Command.Dir in aur.PkgInstall; Fixes #32 #47 @afg984 +- Fixed AUR update fails with large number of packages #59 +- Check if package is already in upgrade list and skip it. #60 +- Add -V and -h for flag parsing @AnthonyLam +- Prevent file corruption by truncating the files @maximbaz +- Print VCS error details @maximbaz +- Using '-' doesn't raise an error @PietroCarrara +- use Command.Dir in aur.PkgInstall; Fixes #32 #47 @afg984 - Suffix YayConf.BuildDir with uid to avoid permission issues @afg984 (Not included in last changelog) #### 2.200 diff --git a/query.go b/query.go index e9ae6f94..63d86650 100644 --- a/query.go +++ b/query.go @@ -248,6 +248,9 @@ func packageSlices(toCheck []string) (aur []string, repo []string, missing []str } for _, _pkg := range toCheck { + if i := strings.Index(_pkg, "/"); i != -1 { + _pkg = _pkg[i+1:] + } pkg := getNameFromDep(_pkg) _, errdb := dbList.FindSatisfier(_pkg)