mirror of
https://github.com/Jguer/yay
synced 2024-10-07 00:29:10 +00:00
Updated vendor dependencies
This commit is contained in:
parent
683890c1b8
commit
6ab876258b
2
Gopkg.lock
generated
2
Gopkg.lock
generated
|
@ -5,7 +5,7 @@
|
|||
branch = "master"
|
||||
name = "github.com/jguer/go-alpm"
|
||||
packages = ["."]
|
||||
revision = "bc954af9b2ced79e4db54ce6ab3c6a24d769e98b"
|
||||
revision = "11d6aadda57c8fb4f93969333cb990677d28d4f9"
|
||||
|
||||
[[projects]]
|
||||
branch = "master"
|
||||
|
|
7
vendor/github.com/jguer/go-alpm/conf.go
generated
vendored
7
vendor/github.com/jguer/go-alpm/conf.go
generated
vendored
|
@ -55,7 +55,7 @@ type PacmanConfig struct {
|
|||
XferCommand string
|
||||
NoUpgrade []string
|
||||
NoExtract []string
|
||||
CleanMethod string
|
||||
CleanMethod []string
|
||||
SigLevel SigLevel
|
||||
LocalFileSigLevel SigLevel
|
||||
RemoteFileSigLevel SigLevel
|
||||
|
@ -256,6 +256,10 @@ lineloop:
|
|||
}
|
||||
}
|
||||
|
||||
if len(conf.CleanMethod) == 0 {
|
||||
conf.CleanMethod = []string{"KeepInstalled"}
|
||||
}
|
||||
|
||||
if len(conf.CacheDir) == 0 {
|
||||
conf.CacheDir = []string{"/var/cache/pacman/pkg/"} //should only be set if the config does not specify this
|
||||
}
|
||||
|
@ -271,7 +275,6 @@ func (conf *PacmanConfig) SetDefaults() {
|
|||
conf.GPGDir = "/etc/pacman.d/gnupg/"
|
||||
conf.LogFile = "/var/log/pacman.log"
|
||||
conf.UseDelta = 0.7
|
||||
conf.CleanMethod = "KeepInstalled"
|
||||
|
||||
conf.SigLevel = SigPackage | SigPackageOptional | SigDatabase | SigDatabaseOptional
|
||||
conf.LocalFileSigLevel = SigUseDefault
|
||||
|
|
Loading…
Reference in a new issue