From a82b53295f3f886e94eec36744fc9b4dcc7f1f1a Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Wed, 17 Oct 2012 16:30:48 +0000 Subject: no need to prefix those functions with their namespace --- time_wizard/Ntp.pm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'time_wizard') 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}, -- cgit v1.2.1