summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2002-08-12 19:40:09 +0000
committerPascal Rigaux <pixel@mandriva.com>2002-08-12 19:40:09 +0000
commit0d8f2ff918a2a72afca411fb3fd0f779e95e8405 (patch)
tree718bfed8bea0e108c75bf438ce8b6c16334457ad
parentf36527da919ea958ea071b2d38565784dd946b94 (diff)
downloaddrakx-0d8f2ff918a2a72afca411fb3fd0f779e95e8405.tar
drakx-0d8f2ff918a2a72afca411fb3fd0f779e95e8405.tar.gz
drakx-0d8f2ff918a2a72afca411fb3fd0f779e95e8405.tar.bz2
drakx-0d8f2ff918a2a72afca411fb3fd0f779e95e8405.tar.xz
drakx-0d8f2ff918a2a72afca411fb3fd0f779e95e8405.zip
use setExportedVarsInSh for setting /etc/profile.d/proxy.sh so that http_proxy
and ftp_proxy are exported (thanks to Pascal <pascal@vmfacility.fr>)
-rw-r--r--perl-install/any.pm7
1 files changed, 3 insertions, 4 deletions
diff --git a/perl-install/any.pm b/perl-install/any.pm
index 2ff0cef2c..b796f25f3 100644
--- a/perl-install/any.pm
+++ b/perl-install/any.pm
@@ -606,13 +606,12 @@ DockIntoPanel=0
pppdTimeout=30
END
}
- miscellaneousNetwork($prefix);
+ miscellaneousNetwork();
}
sub miscellaneousNetwork {
- my ($prefix) = @_;
- setVarsInSh ("$prefix/etc/profile.d/proxy.sh", $::o->{miscellaneous}, qw(http_proxy ftp_proxy));
- setVarsInCsh("$prefix/etc/profile.d/proxy.csh", $::o->{miscellaneous}, qw(http_proxy ftp_proxy));
+ setExportedVarsInSh ("$::prefix/etc/profile.d/proxy.sh", $::o->{miscellaneous}, qw(http_proxy ftp_proxy));
+ setExportedVarsInCsh("$::prefix/etc/profile.d/proxy.csh", $::o->{miscellaneous}, qw(http_proxy ftp_proxy));
}
sub load_category_no_message {