Resolves #115. Ignore aur/package on install

This commit is contained in:
Jguer 2018-01-31 16:01:16 +00:00
parent 2f5c4df661
commit fb220d45d5
No known key found for this signature in database
GPG Key ID: 09754DBECF21746F
2 changed files with 12 additions and 7 deletions

View File

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

View File

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