[Yum] Re: Still hopeless on getting proxy to work

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

 



mbylander@xxxxxxxxxxxxxxx wrote:


>>>For the record, here is my wrapper (yumwrap):
>>>
>>>#!/bin/sh
>>>http_proxy=
>>>HTTP_PROXY=
>>>ftp_proxy=
>>>FTP_PROXY=
>>>yum $1 $2

>>This script does nothing.  You didn't export the variables 
>>you set, so 

> (Don't the variables stay set for the 
> duration of the script anyway, so that the calling of yum at 
> the end is affected by those variables?

No.  Without exporting the var's, they don't get inherited by child 
processes (like yum, in this case).

-- Rex


[Index of Archives]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux