[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: Questions on RPM



On Wed, May 30, 2007 at 08:45:23AM -0300, Murilo Opsfelder Araújo wrote:
> I think you can do a
> echo 'MYGLOBALVAR="somevalue"' >> /etc/bashrc
> in the % section to export your variable for bash users.

Better to use a file in /etc/profile.d, if your distro has that. Because
then you don't have to munge any files to undo it.
-- 
Matthew Miller           mattdm mattdm org          <http://mattdm.org/>
Boston University Linux      ------>              <http://linux.bu.edu/>


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]