Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 306 - dircolors: Unknown option --
Summary: dircolors: Unknown option --
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: Lowest trivial (vote)
Assignee: Martin Schlemmer (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-01-24 04:18 UTC by Sandy McArthur
Modified: 2003-02-04 19:42 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sandy McArthur 2002-01-24 04:18:54 UTC
Despite what `man dircolors` says the dircolors from the fileutils-4.1.4 package
does not acutally support double hypen switches (eg: --sh). The file
/etc/skel/.bash_profile has the line: "eval `dircolors --sh`" which causes the
error "dircolors: Unknown option --" to be generated at every user login with
the default .bash_profile file. The fix is to use the '-b' switch instead which
means the same thing as '--sh'.
Comment 1 Martin Schlemmer (RETIRED) gentoo-dev 2002-01-24 12:17:50 UTC
Try remerging sys-apps/fileutils.  It *should* install 4.1.4-r1 by default,
which include the updated dircolors that supports zsh, etc.  This should also
install the updated manpage.

the skel files is my fault.  I forgot to update them after I updated dircolors.
Thanks!
Comment 2 Sandy McArthur 2002-01-24 15:04:02 UTC
yup, `emerge sys-apps/fileutils/` fixed the man page.