From 72e41c87b82d7652d4a31302cb40df4606b6fb5c Mon Sep 17 00:00:00 2001 From: Olivier Blin Date: Mon, 14 Feb 2005 17:07:42 +0000 Subject: proxy_configure: modify KDE proxy settings too --- perl-install/network/network.pm | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/perl-install/network/network.pm b/perl-install/network/network.pm index 996b6691c..14bb01f11 100644 --- a/perl-install/network/network.pm +++ b/perl-install/network/network.pm @@ -336,6 +336,21 @@ sub proxy_configure { setExportedVarsInCsh("$::prefix/etc/profile.d/proxy.csh", $u, qw(http_proxy ftp_proxy)); chmod 0755, "$::prefix/etc/profile.d/proxy.csh"; + #- KDE proxy settings + my $kde_config_file = "$::prefix/usr/share/config/kioslaverc"; + update_gnomekderc($kde_config_file, + undef, + PersistentProxyConnection => "false" + ); + update_gnomekderc($kde_config_file, + "Proxy Settings", + AuthMode => 0, + ProxyType => ($u->{http_proxy} || $u->{ftp_proxy}) ? 4 : 0, + ftpProxy => "ftp_proxy", + httpProxy => "http_proxy", + httpsProxy => "http_proxy" + ); + #- Gnome proxy settings if (-d "$::prefix/etc/gconf/2/") { my $defaults_dir = "/etc/gconf/gconf.xml.local-defaults"; -- cgit v1.2.1