summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
authorDamien Chaumette <dchaumette@mandriva.com>2003-04-29 09:42:06 +0000
committerDamien Chaumette <dchaumette@mandriva.com>2003-04-29 09:42:06 +0000
commitdc6ee495df67b2107959d1c36ef41fb9f5d3288e (patch)
tree29acea41356347f82c8efb11731ba931db8ed611 /perl-install
parent841986e3b7bf01c30ed914dfb1bc6ac1db67d7e3 (diff)
downloaddrakx-backup-do-not-use-dc6ee495df67b2107959d1c36ef41fb9f5d3288e.tar
drakx-backup-do-not-use-dc6ee495df67b2107959d1c36ef41fb9f5d3288e.tar.gz
drakx-backup-do-not-use-dc6ee495df67b2107959d1c36ef41fb9f5d3288e.tar.bz2
drakx-backup-do-not-use-dc6ee495df67b2107959d1c36ef41fb9f5d3288e.tar.xz
drakx-backup-do-not-use-dc6ee495df67b2107959d1c36ef41fb9f5d3288e.zip
prevent void list installation
Diffstat (limited to 'perl-install')
-rwxr-xr-xperl-install/standalone/drakfont6
1 files changed, 4 insertions, 2 deletions
diff --git a/perl-install/standalone/drakfont b/perl-install/standalone/drakfont
index fb4d7cba8..81e69297e 100755
--- a/perl-install/standalone/drakfont
+++ b/perl-install/standalone/drakfont
@@ -776,8 +776,10 @@ sub advanced_install {
gtksignal_connect(new Gtk2::Button(N("Remove Selected")), clicked => \&list_remove),
gtksignal_connect(new Gtk2::Button(N("Install List")),
clicked => sub {
- ${$central_widget}->destroy();
- appli_choice();
+ if (@install) {
+ ${$central_widget}->destroy();
+ appli_choice();
+ }
})
)
)