summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBruno Cornec <bruno@victoria.frmug.org>2025-12-29 18:14:36 +0100
committerBruno Cornec <bruno@victoria.frmug.org>2025-12-29 18:14:36 +0100
commit00357b0c9938f16b63d0bd3f75f39a12e446b88a (patch)
treeac0fdcd1699702d9ebed0b257a1bebbb9d3e3792
parent654fb38be017a6d17e9e369bd5265c9d49749c62 (diff)
downloaddrakx-user/bcornec/fixntp.tar
drakx-user/bcornec/fixntp.tar.gz
drakx-user/bcornec/fixntp.tar.bz2
drakx-user/bcornec/fixntp.tar.xz
drakx-user/bcornec/fixntp.zip
Fix remaining ntp package reference replaced by ntpsecuser/bcornec/fixntp
-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();
}
}),