diff options
author | Thierry Vignaud <tv@mageia.org> | 2012-01-20 19:12:44 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mageia.org> | 2012-01-20 19:12:44 +0000 |
commit | 24ec0f38f72f04a06322c837dfdb8ec85baae43c (patch) | |
tree | 7cf36d85a8a31db8f50ea83d4ecce277772126d1 | |
parent | 7687ec7f43dcdd6fd32eb0c29cf5deecd2912ad5 (diff) | |
download | drakx-backup-do-not-use-24ec0f38f72f04a06322c837dfdb8ec85baae43c.tar drakx-backup-do-not-use-24ec0f38f72f04a06322c837dfdb8ec85baae43c.tar.gz drakx-backup-do-not-use-24ec0f38f72f04a06322c837dfdb8ec85baae43c.tar.bz2 drakx-backup-do-not-use-24ec0f38f72f04a06322c837dfdb8ec85baae43c.tar.xz drakx-backup-do-not-use-24ec0f38f72f04a06322c837dfdb8ec85baae43c.zip |
(extract_modules) enable to find, decompress XZ modules
-rw-r--r-- | perl-install/NEWS | 1 | ||||
-rw-r--r-- | perl-install/install/NEWS | 1 | ||||
-rw-r--r-- | perl-install/modules.pm | 3 |
3 files changed, 4 insertions, 1 deletions
diff --git a/perl-install/NEWS b/perl-install/NEWS index d657872f7..df56351e1 100644 --- a/perl-install/NEWS +++ b/perl-install/NEWS @@ -1,3 +1,4 @@ +- add support for XZ modules - diskdrake: o enable to set LV names when not in expert mode o suggest better LV names based on the mount point rather than numbers diff --git a/perl-install/install/NEWS b/perl-install/install/NEWS index 48d9da05d..3ce5eabd9 100644 --- a/perl-install/install/NEWS +++ b/perl-install/install/NEWS @@ -1,3 +1,4 @@ +- add support for XZ modules - include gtk20 translations (caps lock & the like) - diskdrake: o enable to set LV names when not in expert mode 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)"); } |