diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2007-04-25 12:26:16 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2007-04-25 12:26:16 +0000 |
commit | 126777bc019a54afb4ec51299f2cf9d2841698aa (patch) | |
tree | 97f76e571902ead55ba138f1156a4b4f00b9b779 /perl-install/standalone/drakups | |
parent | f1f67448efc714873378dfeb8279fae68054a90a (diff) | |
download | drakx-backup-do-not-use-126777bc019a54afb4ec51299f2cf9d2841698aa.tar drakx-backup-do-not-use-126777bc019a54afb4ec51299f2cf9d2841698aa.tar.gz drakx-backup-do-not-use-126777bc019a54afb4ec51299f2cf9d2841698aa.tar.bz2 drakx-backup-do-not-use-126777bc019a54afb4ec51299f2cf9d2841698aa.tar.xz drakx-backup-do-not-use-126777bc019a54afb4ec51299f2cf9d2841698aa.zip |
re-sync after the big svn loss
Diffstat (limited to 'perl-install/standalone/drakups')
-rwxr-xr-x | perl-install/standalone/drakups | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/perl-install/standalone/drakups b/perl-install/standalone/drakups index 1030cbc5e..2bad4e5b8 100755 --- a/perl-install/standalone/drakups +++ b/perl-install/standalone/drakups @@ -315,7 +315,9 @@ $in = 'interactive'->vnew; $ugtk2::wm_icon = "drakups"; -$in->do_pkgs->ensure_is_installed('nut-server', '/etc/rc.d/init.d/upsd') if !$::testing; +if (!$::testing) { + $in->do_pkgs->ensure_is_installed('nut-server', '/etc/rc.d/init.d/upsd') or $in->exit(1); +} if (member('--wizard', @ARGV)) { read_nut_config(); @@ -324,7 +326,7 @@ if (member('--wizard', @ARGV)) { $in->exit($@ ? 1 : 0); } -$w = ugtk2->new(N("DrakUPS")); +$w = ugtk2->new(N("UPS Management")); if (!$::isEmbedded) { $::main_window = $w->{real_window}; $w->{window}->set_size_request(500, 550); |