FS#3629 - Updating of $PATH; pacman
Attached to Project:
Pacman
Opened by Scott H (stonecrest) - Saturday, 17 December 2005, 05:43 GMT
Last edited by arjan timmerman (blaasvis) - Saturday, 25 March 2006, 22:40 GMT
Opened by Scott H (stonecrest) - Saturday, 17 December 2005, 05:43 GMT
Last edited by arjan timmerman (blaasvis) - Saturday, 25 March 2006, 22:40 GMT
|
Details
This is the result of a brief forum topic:
http://bbs.archlinux.org/viewtopic.php?t=17107
Currently, some apps that install to /opt/* require the user to source /etc/profile or logout/login in order to get their $PATH to update. I see people with this issue over and over, and most find it frustrating. Is there no simple and elegant solution to getting the user's $PATH to update? |
This task depends upon
Comment by Scott H (stonecrest) -
Saturday, 17 December 2005, 05:45 GMT
Comment by Jan de Groot (JGC) -
Monday, 19 December 2005, 11:12 GMT
Comment by Judd Vinet (judd) - Monday,
27 March 2006, 03:50 GMT
Just to add.. I don't know if this is better suited to pacman or
should be done on the PKGBUILD/.install file level. But it would
be very helpful for newbies to implement a solution to this.
There isn't a solution, since pacman can't update your environment
from a (chrooted) subshell.
Agreed. this would only work for the terminal session that pacman
is run in, not the entire environment.