summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEarnestly <zibeon@googlemail.com>2020-04-01 17:29:57 +0200
committerAndrew Gregory <andrew@archlinux.org>2020-06-18 10:46:59 +0200
commit39ce2b766303f046bb75ad900cc8a2695e947f83 (patch)
tree5e072d38b790cc9ec746177d1efd6d245292ee17
parent01d5a68c1ae07ad43b5255721d2429710794ea04 (diff)
downloadpacman-39ce2b766303f046bb75ad900cc8a2695e947f83.tar.gz
pacman-39ce2b766303f046bb75ad900cc8a2695e947f83.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> (cherry picked from commit 1d39557aa070d2260cfda650e59c8d190397ba01)
-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) {