diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2002-07-12 10:18:42 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2002-07-12 10:18:42 +0000 |
commit | 95fdbf2623ffb548630661cbee53ff52f1544e60 (patch) | |
tree | 800c06c0140595830460d57ca3ba46209a622355 /urpm.pm | |
parent | 5af1271ab553aa62a3ef995d173a45e1907d8bd2 (diff) | |
download | urpmi-95fdbf2623ffb548630661cbee53ff52f1544e60.tar urpmi-95fdbf2623ffb548630661cbee53ff52f1544e60.tar.gz urpmi-95fdbf2623ffb548630661cbee53ff52f1544e60.tar.bz2 urpmi-95fdbf2623ffb548630661cbee53ff52f1544e60.tar.xz urpmi-95fdbf2623ffb548630661cbee53ff52f1544e60.zip |
fix problem with no proxy
(the "return" in get_proxy was returning an empty list which shifted the key/values of $urpm)
Diffstat (limited to 'urpm.pm')
-rw-r--r-- | urpm.pm | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -137,7 +137,7 @@ sub get_proxy { }; local (*F, $_); # open F, "$ENV{HOME}/.wgetrc" or return; - open F, "/etc/urpmi/proxy.cfg" or return; + open F, "/etc/urpmi/proxy.cfg" or return undef; while (<F>) { chomp; s/#.*$//; s/^\s*//; s/\s*$//; /^http_proxy\s*=\s*(.*)$/ and $proxy->{http_proxy} = $1, next; |