summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBruno Cornec <bruno@victoria.frmug.org>2025-12-29 18:14:36 +0100
committerMartin Whitaker <mageia@martin-whitaker.me.uk>2026-01-04 11:35:38 +0000
commitbe0ef82523ad8d642f12ff13e4a9e152f8fc15b7 (patch)
treef5355d864d48453086959f5e8cde28be9760042c
parent50bb7d35d1ef57907afa4fd2b42fbeb39e99d671 (diff)
downloaddrakx-be0ef82523ad8d642f12ff13e4a9e152f8fc15b7.tar
drakx-be0ef82523ad8d642f12ff13e4a9e152f8fc15b7.tar.gz
drakx-be0ef82523ad8d642f12ff13e4a9e152f8fc15b7.tar.bz2
drakx-be0ef82523ad8d642f12ff13e4a9e152f8fc15b7.tar.xz
drakx-be0ef82523ad8d642f12ff13e4a9e152f8fc15b7.zip
Fix remaining ntp package reference replaced by ntpsec
-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();
}
}),