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

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)