summaryrefslogtreecommitdiffstats
path: root/perl-install/standalone
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2004-05-07 10:17:06 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2004-05-07 10:17:06 +0000
commitb19c2f0bc409720f18efac9d171d2c0196f14eb3 (patch)
tree4df895caabd580fd5121c9ae495dd12896fd45af /perl-install/standalone
parenta72f7bb1d7790993ef294f770e80517a8761abfc (diff)
downloaddrakx-b19c2f0bc409720f18efac9d171d2c0196f14eb3.tar
drakx-b19c2f0bc409720f18efac9d171d2c0196f14eb3.tar.gz
drakx-b19c2f0bc409720f18efac9d171d2c0196f14eb3.tar.bz2
drakx-b19c2f0bc409720f18efac9d171d2c0196f14eb3.tar.xz
drakx-b19c2f0bc409720f18efac9d171d2c0196f14eb3.zip
do saner check for ntp package (Robert Vojta)
Diffstat (limited to 'perl-install/standalone')
-rwxr-xr-xperl-install/standalone/drakclock2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/standalone/drakclock b/perl-install/standalone/drakclock
index 8943eb61a..93e31bdd0 100755
--- a/perl-install/standalone/drakclock
+++ b/perl-install/standalone/drakclock
@@ -82,7 +82,7 @@ $my_win->{window}->add(gtkpack_(gtkset_border_width(Gtk2::VBox->new, $::isEmbedd
0, gtksignal_connect(gtkset_active($check_ntp = Gtk2::CheckButton->new(N("Enable Network Time Protocol")), $mode), clicked => sub {
$mode = !$mode;
$hb_ntp->set_sensitive($mode);
- if (!-e "/etc/init.d/ntpd" && $mode == 1) {
+ if ($mode == 1 && !$in->do_pkgs->is_installed('ntp')) {
install_ntp();
}
}),