summaryrefslogtreecommitdiffstats
path: root/perl-install/standalone
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install/standalone')
-rwxr-xr-xperl-install/standalone/drakfloppy3
1 files changed, 2 insertions, 1 deletions
diff --git a/perl-install/standalone/drakfloppy b/perl-install/standalone/drakfloppy
index e4daae23b..0df6d7117 100755
--- a/perl-install/standalone/drakfloppy
+++ b/perl-install/standalone/drakfloppy
@@ -180,7 +180,8 @@ sub pref_dialog() {
fill_tree($kernel_combo->entry->get_text);
foreach my $module (@modules) {
my $full_path = join('/', "/lib/modules", $kernel_combo->entry->get_text, $module);
- my $size = get_file_size($full_path);
+ $full_path =~ s/\.(ko|o)(|.gz)//;
+ my $size = get_file_size(glob_("$full_path.*"));
$list_model->append_set(map_index { $::i => $_ } $module, $size, $full_path);
}