Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorEli Schwartz <eschwartz@archlinux.org>2020-05-10 00:32:40 -0400
committerAllan McRae <allan@archlinux.org>2020-05-11 12:19:40 +1000
commit7423b166047ff168ef337818958bf86ed1d42a0a (patch)
tree92146d9a28df9bf5e8639f549132f68d93f1d687 /src
parent559590256c48fa5f995944de3802911e5a56ba7f (diff)
pacman-conf: fix incomplete support for ILoveCandy
This was only partially implemented in the original implementation. `pacman-conf | grep ILoveCandy` would tell you if it was set, but querying directly by name would not. Signed-off-by: Eli Schwartz <eschwartz@archlinux.org> Signed-off-by: Allan McRae <allan@archlinux.org>
Diffstat (limited to 'src')
-rw-r--r--src/pacman/pacman-conf.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/pacman/pacman-conf.c b/src/pacman/pacman-conf.c
index d76c0985..463badf1 100644
--- a/src/pacman/pacman-conf.c
+++ b/src/pacman/pacman-conf.c
@@ -379,6 +379,8 @@ static int list_directives(void)
show_bool("VerbosePkgLists", config->verbosepkglists);
} else if(strcasecmp(i->data, "DisableDownloadTimeout") == 0) {
show_bool("DisableDownloadTimeout", config->disable_dl_timeout);
+ } else if(strcasecmp(i->data, "ILoveCandy") == 0) {
+ show_bool("ILoveCandy", config->chomp);
} else if(strcasecmp(i->data, "NoProgressBar") == 0) {
show_bool("NoProgressBar", config->noprogressbar);