diff options
-rw-r--r-- | perl-install/any.pm | 7 |
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 { |