summaryrefslogtreecommitdiffstats
path: root/perl-install/diskdrake
diff options
context:
space:
mode:
authorPascal Terjan <pterjan@mandriva.org>2009-11-17 23:41:05 +0000
committerPascal Terjan <pterjan@mandriva.org>2009-11-17 23:41:05 +0000
commit91a28e36396280047d956f7428cfedc31d72057c (patch)
treebef2e2fbdd543b13948a3cc35526f4a3dfd739e1 /perl-install/diskdrake
parent778b6f86075f44fe7cb1c29f05efa458edbb3b12 (diff)
downloaddrakx-91a28e36396280047d956f7428cfedc31d72057c.tar
drakx-91a28e36396280047d956f7428cfedc31d72057c.tar.gz
drakx-91a28e36396280047d956f7428cfedc31d72057c.tar.bz2
drakx-91a28e36396280047d956f7428cfedc31d72057c.tar.xz
drakx-91a28e36396280047d956f7428cfedc31d72057c.zip
diskdrake: don't request ntfs-3g on target not yet installed system if we are run inside draklive-install (#55160)
Diffstat (limited to 'perl-install/diskdrake')
-rw-r--r--perl-install/diskdrake/interactive.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/perl-install/diskdrake/interactive.pm b/perl-install/diskdrake/interactive.pm
index 50a7674d7..453594087 100644
--- a/perl-install/diskdrake/interactive.pm
+++ b/perl-install/diskdrake/interactive.pm
@@ -609,6 +609,7 @@ sub Type {
return;
} elsif ($type->{fs_type} =~ /ntfs/ && $part->{fs_type} =~ /ntfs/) {
if ($type->{fs_type} eq 'ntfs-3g') {
+ local $::prefix = ''; # For draklive-install
$in->do_pkgs->ensure_binary_is_installed('ntfs-3g', 'mount.ntfs-3g') or return;
}
put_in_hash($part, $type);