summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2004-10-05 06:37:30 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2004-10-05 06:37:30 +0000
commit8690d1275b4789b4d0ed937f0d1375b84a65eee0 (patch)
tree898dc654074de37d38a9b2ac569d301dabcf1b29 /perl-install
parente7c6831acc9ae526118dee0d85e69e669a33f0cf (diff)
downloaddrakx-8690d1275b4789b4d0ed937f0d1375b84a65eee0.tar
drakx-8690d1275b4789b4d0ed937f0d1375b84a65eee0.tar.gz
drakx-8690d1275b4789b4d0ed937f0d1375b84a65eee0.tar.bz2
drakx-8690d1275b4789b4d0ed937f0d1375b84a65eee0.tar.xz
drakx-8690d1275b4789b4d0ed937f0d1375b84a65eee0.zip
install nut earlier
Diffstat (limited to 'perl-install')
-rwxr-xr-xperl-install/standalone/drakups3
1 files changed, 2 insertions, 1 deletions
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;