From 232627e4ab2e268a0cb80947e2884f7afcedb869 Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Fri, 20 Jan 2012 19:12:44 +0000 Subject: (extract_modules) enable to find, decompress XZ modules --- perl-install/modules.pm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'perl-install/modules.pm') diff --git a/perl-install/modules.pm b/perl-install/modules.pm index 719ec02f3..53f70b055 100644 --- a/perl-install/modules.pm +++ b/perl-install/modules.pm @@ -319,7 +319,8 @@ sub extract_modules { my $f = $modname . module_extension(); if (-e $path) { system("gzip -dc $path > $dir/$f") == 0 - or unlink "$dir/$f"; + or system("xz -d < $path > $dir/$f") == 0 + or unlink "$dir/$f"; } else { log::l("warning: unable to get module filename for $modname (path: $path)"); } -- cgit v1.2.1