FS#8824 - /usr/X11R6 is obsolete but still used in /etc/profile

Attached to Project: Arch Linux
Opened by Dr. Markus Waldeck (waldeck) - Monday, 03 December 2007, 07:44 GMT
Last edited by Roman Kyrylych (Romashka) - Saturday, 09 February 2008, 09:18 GMT
Task Type Bug Report
Category Packages: Core
Status Closed
Assigned To Aaron Griffin (phrakture)
Architecture All
Severity Low
Priority Normal
Reported Version 2007.08-2
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 4
Private No

Details

Description:
/usr/X11R6 is obsolete but still used in /etc/profile

Additional info:
/etc/profile is owned by bash 3.2.025-2

Steps to reproduce:
I made a patch which removed the /usr/X11R6 in PATH and MANPATH.

--- profile 2007-12-01 19:39:21.000000000 +0100
+++ profile.patched 2007-12-01 19:38:40.000000000 +0100
@@ -2,9 +2,9 @@
# /etc/profile
#

-export PATH="/bin:/usr/bin:/sbin:/usr/sbin:/usr/X11R6/bin:/opt/bin"
+export PATH="/bin:/usr/bin:/sbin:/usr/sbin:/opt/bin"

-export MANPATH="/usr/man:/usr/X11R6/man"
+export MANPATH="/usr/man"
export LESSCHARSET="latin1"
export INPUTRC="/etc/inputrc"
export LESS="-R"
This task depends upon

Closed by  Roman Kyrylych (Romashka)
Saturday, 09 February 2008, 09:18 GMT
Reason for closing:  Fixed
Comment by Dan McGee (toofishes) - Wednesday, 05 December 2007, 01:54 GMT
+1 on fixing this.
Comment by Aaron Griffin (phrakture) - Wednesday, 05 December 2007, 18:36 GMT
What about removint /opt/bin as well? Does that seem reasonable? We use /opt/$pkgname/bin 99% of the time
Comment by Jens Adam (byte) - Thursday, 06 December 2007, 08:05 GMT
Huh, /opt/bin? KILL!!!1eleven

And just for reference: http://bugs.archlinux.org/task/5172 and http://bugs.archlinux.org/task/4532

Loading...