mirror of
https://github.com/Jguer/yay
synced 2024-10-05 23:59:13 +00:00
Fix typo in cache dir. References #840
This commit is contained in:
parent
3e1f29277b
commit
5acee2706f
4
main.go
4
main.go
|
@ -132,9 +132,9 @@ func initAlpm() error {
|
|||
|
||||
//TODO
|
||||
//current system does not allow duplicate arguments
|
||||
//but pacman allows multiple cachdirs to be passed
|
||||
//but pacman allows multiple cachedirs to be passed
|
||||
//for now only handle one cache dir
|
||||
if value, _, exists := cmdArgs.getArg("cachdir"); exists {
|
||||
if value, _, exists := cmdArgs.getArg("cachedir"); exists {
|
||||
pacmanConf.CacheDir = []string{value}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue