diff options
author | Thierry Vignaud <tv@mageia.org> | 2012-10-17 16:30:48 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mageia.org> | 2012-10-17 16:30:48 +0000 |
commit | a82b53295f3f886e94eec36744fc9b4dcc7f1f1a (patch) | |
tree | 1256828bf57bbd065bc93f245b0a86daac68f879 | |
parent | 80aeb2c106769f94c69b8a05a40819155e296b98 (diff) | |
download | drakwizard-a82b53295f3f886e94eec36744fc9b4dcc7f1f1a.tar drakwizard-a82b53295f3f886e94eec36744fc9b4dcc7f1f1a.tar.gz drakwizard-a82b53295f3f886e94eec36744fc9b4dcc7f1f1a.tar.bz2 drakwizard-a82b53295f3f886e94eec36744fc9b4dcc7f1f1a.tar.xz drakwizard-a82b53295f3f886e94eec36744fc9b4dcc7f1f1a.zip |
no need to prefix those functions with their namespace
-rw-r--r-- | time_wizard/Ntp.pm | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/time_wizard/Ntp.pm b/time_wizard/Ntp.pm index c754a833..08f9db52 100644 --- a/time_wizard/Ntp.pm +++ b/time_wizard/Ntp.pm @@ -197,14 +197,14 @@ sub do_it { return; } my $file = "/etc/sysconfig/clock"; - !-f "$file.orig" and MDK::Common::cp_af($file, $file . ".orig"); + !-f "$file.orig" and cp_af($file, $file . ".orig"); local *NEW; output($file, qq(UTC=true ZONE=$o->{var}{wiz_timezone} ARC=false )); - -f "/usr/share/zoneinfo/$o->{var}{wiz_timezone}" and MDK::Common::cp_af("/usr/share/zoneinfo/$o->{var}{wiz_timezone}", "/etc/localtime"); - -f "/etc/ntp/step-tickers" and MDK::Common::cp_af("/etc/ntp/step-tickers", "/etc/ntp/step-tickers.orig"); + -f "/usr/share/zoneinfo/$o->{var}{wiz_timezone}" and cp_af("/usr/share/zoneinfo/$o->{var}{wiz_timezone}", "/etc/localtime"); + -f "/etc/ntp/step-tickers" and cp_af("/etc/ntp/step-tickers", "/etc/ntp/step-tickers.orig"); output('/etc/ntp/step-tickers', join("\n", $o->{var}{varserver1}, $o->{var}{varserver2}, $o->{var}{varserver3}, |