Use noextract with pacman-conf NoExtract

Current code accidently uses noupgrade for the NoExtract directive.

Signed-off-by: Eli Schwartz <eschwartz@archlinux.org>
Signed-off-by: Allan McRae <allan@archlinux.org>
This commit is contained in:
Earnestly 2020-04-01 11:29:57 -04:00 committed by Allan McRae
parent 87b74fcd82
commit 1d39557aa0

View file

@ -348,7 +348,7 @@ static int list_directives(void)
} else if(strcasecmp(i->data, "NoUpgrade") == 0) { } else if(strcasecmp(i->data, "NoUpgrade") == 0) {
show_list_str("NoUpgrade", config->noupgrade); show_list_str("NoUpgrade", config->noupgrade);
} else if(strcasecmp(i->data, "NoExtract") == 0) { } else if(strcasecmp(i->data, "NoExtract") == 0) {
show_list_str("NoExtract", config->noupgrade); show_list_str("NoExtract", config->noextract);
} else if(strcasecmp(i->data, "Architecture") == 0) { } else if(strcasecmp(i->data, "Architecture") == 0) {