summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEli Schwartz <eschwartz@archlinux.org>2020-05-10 06:32:40 +0200
committerAndrew Gregory <andrew@archlinux.org>2020-06-18 10:56:09 +0200
commitbb50e8d73afda7f17777c464bd7bfa127a749b8d (patch)
treeab82f1bbdc2a2ef850c4e45b9fd27411474ba38b
parentb9d397c7317b9b495da73051fc670b0e9f472a06 (diff)
downloadpacman-bb50e8d73afda7f17777c464bd7bfa127a749b8d.tar.gz
pacman-bb50e8d73afda7f17777c464bd7bfa127a749b8d.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> (cherry picked from commit 7423b166047ff168ef337818958bf86ed1d42a0a)
-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 de317260..8cea411b 100644
--- a/src/pacman/pacman-conf.c
+++ b/src/pacman/pacman-conf.c
@@ -368,6 +368,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, "CleanMethod") == 0) {
show_cleanmethod("CleanMethod", config->cleanmethod);