FS#21180 - [filesystem] /etc/profile should not assume packages are installed

Attached to Project: Arch Linux
Opened by (Lavandero) - Monday, 11 October 2010, 05:31 GMT
Last edited by Pierre Schmitz (Pierre) - Sunday, 24 October 2010, 09:28 GMT
Task Type Bug Report
Category Packages: Core
Status Closed
Assigned To Pierre Schmitz (Pierre)
Thomas Bächler (brain0)
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

/etc/profile has exports for a number of packages that aren't guaranteed to be installed.

This defeats the whole point of the modularity provided by /etc/profile.d and pollutes the environment with someone's (not the developer) idea of vanilla settings.

Version:
svn-trunk
Closed by  Pierre Schmitz (Pierre)
Sunday, 24 October 2010, 09:28 GMT
Reason for closing:  Implemented
Comment by Allan McRae (Allan) - Monday, 11 October 2010, 07:21 GMT
Comments:

-# Export default pkg-config path
-PKG_CONFIG_PATH="/usr/lib/pkgconfig"
-export PKG_CONFIG_PATH

Default in pkg-config. Can be removed.

-# Some readline stuff that is fairly common
-HISTSIZE=1000
-HISTCONTROL="erasedups"

Users job to set up their history if the do not like the default. Remove.

-INPUTRC="/etc/inputrc"

Default in readline. Remove.

-LESS="-R"

We should not customise this. It is the users job. Remove.

So, we should remove all those and close the related bug reports as Won't Implement.

Loading...