From bb50e8d73afda7f17777c464bd7bfa127a749b8d Mon Sep 17 00:00:00 2001 From: Eli Schwartz Date: Sun, 10 May 2020 00:32:40 -0400 Subject: [PATCH] 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 Signed-off-by: Allan McRae (cherry picked from commit 7423b166047ff168ef337818958bf86ed1d42a0a) --- src/pacman/pacman-conf.c | 2 ++ 1 file changed, 2 insertions(+) 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);