Opened 21 years ago

Closed 21 years ago

Last modified 11 years ago

#889 closed defect (invalid)

/etc/profile.d/extrapaths.sh shows error messages if no /opt/*/lib/pkgconfig are found.

Reported by: roadkill@… Owned by: blfs-book@…
Priority: high Milestone:
Component: BOOK Version: ~5.1
Severity: minor Keywords:
Cc:

Description

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.

Change History (3)

comment:1 by roadkill@…, 21 years ago

Should have mentioned that this is on the blfs/postlfs/profile.html page of the book.

comment:2 by bdubbs@…, 21 years ago

Resolution: invalid
Status: newclosed

Already fixed in svn (since June).

comment:3 by bdubbs@…, 11 years ago

Milestone: old

Milestone old deleted

Note: See TracTickets for help on using tickets.