/etc/profile.d/extrapaths.sh shows error messages if no /opt/*/lib/pkgconfig are found.
|Reported by:||Owned by:|
In extrapaths.sh the line: for directory in $(find /opt/*/lib/pkgconfig -type d ); do
was giving me ugly error message spam when I was loggin in since I don't have much installed into /opt at this point. I updated the line in the scripts on my box to show :
for directory in $(find /opt/*/lib/pkgconfig -type d 2> /dev/null ); do
so that if nothing is found the error messages are suppressed.