In app-admin/conky-1.7.2-r2 and older versions both ${if_existing FILE} and ${if_existing FILE STRING} works as expected/documented. But in 1.8.0-r1 ${if_existing FILE} work as expected but ${if_existing FILE STRING} work incorrectly (true/false reversed). Reproducible: Always Steps to Reproduce: 1. echo aaa > /tmp/conky.txt 2. add these to ~/.conkyrc: ${if_existing /tmp/conky.txt}file true${else}file false${endif} ${if_existing /tmp/conky.txt a}str true${else}str false${endif} ${if_existing /tmp/conky.txt b}str true${else}str false${endif} 3. run conky or wait until it automatically reload config Actual Results: file true str false str true Expected Results: file true str true str false
http://git.omp.am/?p=conky.git;a=commit;h=9c5e5d86bd74465ca1b6f037b084bdb0eda453f7
+ 24 Jul 2010; Daniel Pielmeier <billie@gentoo.org> conky-1.8.0-r2.ebuild, + +files/conky-1.8.0-if-existing.patch: + Add patch from upstream to fix if_existing. See bug #328891.