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 7423b16604
)
This commit is contained in:
parent
b9d397c731
commit
bb50e8d73a
1 changed files with 2 additions and 0 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Reference in a new issue