summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2003-02-25 07:48:10 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2003-02-25 07:48:10 +0000
commitfe0b5b018b1bd8d1be6beb84844ee80ee46de635 (patch)
tree55edb016734461c883bed40c03034d163b8a9e04 /perl-install
parentf6aa199d538661c7046deee8bb685ea048b2a19a (diff)
downloaddrakx-fe0b5b018b1bd8d1be6beb84844ee80ee46de635.tar
drakx-fe0b5b018b1bd8d1be6beb84844ee80ee46de635.tar.gz
drakx-fe0b5b018b1bd8d1be6beb84844ee80ee46de635.tar.bz2
drakx-fe0b5b018b1bd8d1be6beb84844ee80ee46de635.tar.xz
drakx-fe0b5b018b1bd8d1be6beb84844ee80ee46de635.zip
reuse MDK::Common
Diffstat (limited to 'perl-install')
-rwxr-xr-xperl-install/standalone/drakfloppy4
1 files changed, 1 insertions, 3 deletions
diff --git a/perl-install/standalone/drakfloppy b/perl-install/standalone/drakfloppy
index 48abe16b5..cc2630df0 100755
--- a/perl-install/standalone/drakfloppy
+++ b/perl-install/standalone/drakfloppy
@@ -95,9 +95,7 @@ $kernel_combo->set_popdown_strings(do {
});
#$kernel_combo->entry->set_text(`uname -r`);
$kernel_combo->entry->signal_connect(changed => sub { change_tree($kernel_combo->entry->get_text()); $list->clear() });
-my $aaaa = `uname -r`;
-chomp($aaaa);
-$kernel_button->signal_connect(clicked => sub { $kernel_combo->entry->set_text($aaaa); $list->clear() });
+$kernel_button->signal_connect(clicked => sub { $kernel_combo->entry->set_text(chomp_(`uname -r`)); $list->clear() });
$ker_hbox->pack_start(new Gtk::Label(N("kernel version")), 0, 0, 0);
$ker_hbox->pack_start($kernel_combo, 0, 0, 0);