summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/install/steps.pm2
-rwxr-xr-xperl-install/standalone/drakclock2
2 files changed, 2 insertions, 2 deletions
diff --git a/perl-install/install/steps.pm b/perl-install/install/steps.pm
index 0319a6575..c252d8fbb 100644
--- a/perl-install/install/steps.pm
+++ b/perl-install/install/steps.pm
@@ -712,7 +712,7 @@ sub configureTimezone {
# We prefer chrony, but we'll deal with ntpd for the sake of upgrades
my $pkg = install::pkgs::packageByName($o->{packages}, 'chrony');
unless ($pkg && $pkg->flag_installed) {
- $pkg = install::pkgs::packageByName($o->{packages}, 'ntp');
+ $pkg = install::pkgs::packageByName($o->{packages}, 'ntpsec');
$o->pkg_install('chrony') unless $pkg && $pkg->flag_installed;
}
}
diff --git a/perl-install/standalone/drakclock b/perl-install/standalone/drakclock
index 359bc1d2b..ca8c69477 100755
--- a/perl-install/standalone/drakclock
+++ b/perl-install/standalone/drakclock
@@ -78,7 +78,7 @@ $my_win->{window}->add(
0, gtksignal_connect(gtkset_active($check_ntp = gtknew('CheckButton', text => N("Enable Network Time Protocol")), $mode), clicked => sub {
$mode = !$mode;
$hb_ntp->set_sensitive($mode);
- if ($mode == 1 && !$in->do_pkgs->is_installed('ntp') && !$in->do_pkgs->is_installed('chrony')) {
+ if ($mode == 1 && !$in->do_pkgs->is_installed('ntpsec') && !$in->do_pkgs->is_installed('chrony')) {
install_ntp();
}
}),