summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEarnestly <zibeon@googlemail.com>2020-04-01 17:29:57 +0200
committerAllan McRae <allan@archlinux.org>2020-04-13 15:44:46 +0200
commit1d39557aa070d2260cfda650e59c8d190397ba01 (patch)
treeca9447af0c3c85943686b97cdb2e185fafc20e98
parent87b74fcd8257e3c2fbf2f2949f0561df7517ce71 (diff)
downloadpacman-1d39557aa070d2260cfda650e59c8d190397ba01.tar.gz
pacman-1d39557aa070d2260cfda650e59c8d190397ba01.tar.xz
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>
-rw-r--r--src/pacman/pacman-conf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pacman/pacman-conf.c b/src/pacman/pacman-conf.c
index 6e25d243..de317260 100644
--- a/src/pacman/pacman-conf.c
+++ b/src/pacman/pacman-conf.c
@@ -348,7 +348,7 @@ static int list_directives(void)
} else if(strcasecmp(i->data, "NoUpgrade") == 0) {
show_list_str("NoUpgrade", config->noupgrade);
} 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) {