Don't redirect errors to /dev/null and don't return true(1)
unconditionally. Instead, don't check for the existence of index.theme.
This will allow us to catch errors that may be happening because of a
missing dependency in the chain.
Some hidden issues may appear, in which case please contact me.
discussed with and ok blind jasper@
Kicad is an open source software for the creation of electronic schematic
diagrams and printed circuit board artwork.
with some ideas from freebsd.
also tested by Antti Harri <iku at openbsd.fi>, thanks