-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 According to Max Bowsher on 9/16/2005 4:27 PM: > The current /etc/profile does not permit the use of symlinks in > /etc/profile.d/ - it ignores them. > > Unfortunately, even if this was fixed in the package, existing installs > wouldn't get fixed, because /etc/profile is handled via /etc/defaults :-( > > /me gives up on finding a way for /sbin/alternatives to influence $MANPATH.
Here's my idea - add a /etc/profile/symlinkhandler.sh that detects whether /etc/profile has been patched yet, and if not, source all the symlinks in /etc/profile. Now which package should provide that (alternatives vs. base-files vs. something else), I'm not sure. But you are also right that base-files should be patched to source links to regular files as well as regular files. One idea is to change that the appropriate line in /etc/default/etc/profile from 'if [ -f "${f}" ]' to 'if [ ! -d "$f/" ]'. - -- Life is short - so eat dessert first! Eric Blake [EMAIL PROTECTED] -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (Cygwin) Comment: Public key at home.comcast.net/~ericblake/eblake.gpg Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFDLBfe84KuGfSFAYARAq/OAJ0ePSND3+dL3y2rfn/chQpUJMlowwCbBHcG MHov4KjEgR1bUhz798rzyWQ= =TS1v -----END PGP SIGNATURE-----