From be0ef82523ad8d642f12ff13e4a9e152f8fc15b7 Mon Sep 17 00:00:00 2001 From: Bruno Cornec Date: Mon, 29 Dec 2025 18:14:36 +0100 Subject: Fix remaining ntp package reference replaced by ntpsec --- perl-install/install/steps.pm | 2 +- perl-install/standalone/drakclock | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'perl-install') 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(); } }), -- cgit v1.2.1