mirror of
https://github.com/Jguer/yay.git
synced 2025-10-05 00:08:30 -04: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…
x
Reference in New Issue
Block a user