summaryrefslogtreecommitdiffstats
path: root/perl-install/install_steps.pm
diff options
context:
space:
mode:
authorFrancois Pons <fpons@mandriva.com>1999-11-06 12:28:49 +0000
committerFrancois Pons <fpons@mandriva.com>1999-11-06 12:28:49 +0000
commitd4c48e8a8f0c4213dc6fb0fdaa606c1f50417430 (patch)
treeff97685f66e4cb25e4759dd897c9e1ac65ca4994 /perl-install/install_steps.pm
parente9c6665ac3bd856e38bca0685bf5b8ee34997977 (diff)
downloaddrakx-d4c48e8a8f0c4213dc6fb0fdaa606c1f50417430.tar
drakx-d4c48e8a8f0c4213dc6fb0fdaa606c1f50417430.tar.gz
drakx-d4c48e8a8f0c4213dc6fb0fdaa606c1f50417430.tar.bz2
drakx-d4c48e8a8f0c4213dc6fb0fdaa606c1f50417430.tar.xz
drakx-d4c48e8a8f0c4213dc6fb0fdaa606c1f50417430.zip
*** empty log message ***
Diffstat (limited to 'perl-install/install_steps.pm')
-rw-r--r--perl-install/install_steps.pm6
1 files changed, 3 insertions, 3 deletions
diff --git a/perl-install/install_steps.pm b/perl-install/install_steps.pm
index 6bcdf4d69..4ae18d73d 100644
--- a/perl-install/install_steps.pm
+++ b/perl-install/install_steps.pm
@@ -258,9 +258,9 @@ sub pppConfig {
$toreplace{$_} = $o->{modem}{$_} foreach qw(connection phone login passwd auth domain);
$toreplace{phone} =~ s/[^\d]//g;
$toreplace{dnsserver} = ($o->{modem}{dns1} && "$o->{modem}{dns1},") . ($o->{modem}{dns2} && "$o->{modem}{dns2},");
- $toreplace{exdnsdisabled} = $o->{modem}{exdnsdisabled} ? 1 : 0;
- template2file("/usr/share/kppprc.in" ,"$o->{prefix}/root/.kde/share/config/kppprc", %toreplace);
- template2file("/usr/share/kppprc.in" ,"$o->{prefix}/etc/skel/.kde/share/config/kppprc", %toreplace);
+ foreach ("$o->{prefix}/root", "$o->{prefix}/etc/skel") {
+ template2file("/usr/share/kppprc.in", "$_/.kde/share/config/kppprc", %toreplace) if -d "$_/.kde/share/config";
+ }
}
#------------------------------------------------------------------------------