Fix typo in cache dir. References #840

This commit is contained in:
Jguer 2018-12-19 21:13:46 +00:00
parent 3e1f29277b
commit 5acee2706f
No known key found for this signature in database
GPG key ID: 09754DBECF21746F

View file

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