FS#32978 - [python-docs] adding /etc/profile.d files to python-docs
Attached to Project:
Community Packages
Opened by Matthew William Cox (mwc) - Wednesday, 05 December 2012, 22:02 GMT
Last edited by Sergej Pupykin (sergej) - Monday, 10 December 2012, 10:03 GMT
Opened by Matthew William Cox (mwc) - Wednesday, 05 December 2012, 22:02 GMT
Last edited by Sergej Pupykin (sergej) - Monday, 10 December 2012, 10:03 GMT
|
Details
Description:
I noticed that upon installation of the python-docs package the install script tells the user: Add the following line to your ~/.bashrc export PYTHONDOCS=/usr/share/doc/python/html/ I believe that it would be more robust to automatically set the variable system-wide for the duration of the package installation. To that end, we would add /etc/profile.d/python-docs.sh: export PYTHONDOCS=/usr/share/doc/python/html and /etc/profile.d/python-docs.csh: setenv PYTHONDOCS /usr/share/doc/python/html The install script could then be deleted from this package. Additional info: * python-docs-3.3.0-1 |
This task depends upon