mirror of
https://github.com/Jguer/yay
synced 2024-10-31 04:12:51 +00:00
Store completions in yay's cache folder instead of build directory
This commit is contained in:
parent
c5c2e906d3
commit
5fa3557817
2 changed files with 3 additions and 3 deletions
4
cmd.go
4
cmd.go
|
@ -206,9 +206,9 @@ func handlePrint() (err error) {
|
|||
case cmdArgs.existsArg("w", "news"):
|
||||
err = printNewsFeed()
|
||||
case cmdArgs.existsDouble("c", "complete"):
|
||||
err = completion.Show(alpmHandle, config.AURURL, config.BuildDir, config.CompletionInterval, true)
|
||||
err = completion.Show(alpmHandle, config.AURURL, cacheHome, config.CompletionInterval, true)
|
||||
case cmdArgs.existsArg("c", "complete"):
|
||||
err = completion.Show(alpmHandle, config.AURURL, config.BuildDir, config.CompletionInterval, false)
|
||||
err = completion.Show(alpmHandle, config.AURURL, cacheHome, config.CompletionInterval, false)
|
||||
case cmdArgs.existsArg("s", "stats"):
|
||||
err = localStatistics()
|
||||
default:
|
||||
|
|
|
@ -316,7 +316,7 @@ func install(parser *arguments) (err error) {
|
|||
}
|
||||
}
|
||||
|
||||
go completion.Update(alpmHandle, config.AURURL, config.BuildDir, config.CompletionInterval, false)
|
||||
go completion.Update(alpmHandle, config.AURURL, cacheHome, config.CompletionInterval, false)
|
||||
|
||||
err = downloadPkgbuildsSources(do.Aur, incompatible)
|
||||
if err != nil {
|
||||
|
|
Loading…
Reference in a new issue