From 8690d1275b4789b4d0ed937f0d1375b84a65eee0 Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Tue, 5 Oct 2004 06:37:30 +0000 Subject: install nut earlier --- perl-install/standalone/drakups | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'perl-install/standalone/drakups') diff --git a/perl-install/standalone/drakups b/perl-install/standalone/drakups index 7d36aad0b..721e61cc5 100755 --- a/perl-install/standalone/drakups +++ b/perl-install/standalone/drakups @@ -304,6 +304,8 @@ $in = 'interactive'->vnew; $ugtk2::wm_icon = "drakups"; +$in->do_pkgs->ensure_is_installed('nut-server', '/etc/rc.d/init.d/upsd') if !$::testing; + if (any { $_ eq '--wizard' } @ARGV) { add_device_wizard($in, $struct); $in->exit($@ ? 1 : 0); @@ -395,6 +397,5 @@ foreach my $i (@pages) { #------------------------------------------------------------------ # let's start the show: -$in->do_pkgs->ensure_is_installed('nut-server', '/etc/rc.d/init.d/upsd') if !$::testing; $w->{rwindow}->show_all; $w->main; -- cgit v1.2.1