diff options
author | Francois Pons <fpons@mandriva.com> | 1999-11-06 12:28:49 +0000 |
---|---|---|
committer | Francois Pons <fpons@mandriva.com> | 1999-11-06 12:28:49 +0000 |
commit | d4c48e8a8f0c4213dc6fb0fdaa606c1f50417430 (patch) | |
tree | ff97685f66e4cb25e4759dd897c9e1ac65ca4994 /perl-install/install_steps.pm | |
parent | e9c6665ac3bd856e38bca0685bf5b8ee34997977 (diff) | |
download | drakx-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.pm | 6 |
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"; + } } #------------------------------------------------------------------------------ |