summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorEli Schwartz <eschwartz@archlinux.org>2020-05-10 06:32:40 +0200
committerAllan McRae <allan@archlinux.org>2020-05-11 04:19:40 +0200
commit7423b166047ff168ef337818958bf86ed1d42a0a (patch)
tree92146d9a28df9bf5e8639f549132f68d93f1d687 /src
parent559590256c48fa5f995944de3802911e5a56ba7f (diff)
downloadpacman-7423b166047ff168ef337818958bf86ed1d42a0a.tar.gz
pacman-7423b166047ff168ef337818958bf86ed1d42a0a.tar.xz
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);