summaryrefslogtreecommitdiffstats
path: root/perl-install/lvm.pm
diff options
context:
space:
mode:
authorPascal Terjan <pterjan@mandriva.org>2009-10-19 13:00:45 +0000
committerPascal Terjan <pterjan@mandriva.org>2009-10-19 13:00:45 +0000
commit52adb090c72578117e19632a3d847290cc3549dd (patch)
tree83f56f960b373bc61dbf74eab57b261e86071241 /perl-install/lvm.pm
parent2df9667aa6108df2855b2e1c25c6f70f1ab32003 (diff)
downloaddrakx-52adb090c72578117e19632a3d847290cc3549dd.tar
drakx-52adb090c72578117e19632a3d847290cc3549dd.tar.gz
drakx-52adb090c72578117e19632a3d847290cc3549dd.tar.bz2
drakx-52adb090c72578117e19632a3d847290cc3549dd.tar.xz
drakx-52adb090c72578117e19632a3d847290cc3549dd.zip
avoid error messages when using lvm in draklive-install (#36415)
Diffstat (limited to 'perl-install/lvm.pm')
-rw-r--r--perl-install/lvm.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/lvm.pm b/perl-install/lvm.pm
index 8f77ce06f..3205fa2fd 100644
--- a/perl-install/lvm.pm
+++ b/perl-install/lvm.pm
@@ -60,7 +60,7 @@ sub lvm_cmd_or_die {
sub check {
my ($do_pkgs) = @_;
-
+ local $::prefix = ''; # We want lvm2 on current system
$do_pkgs->ensure_binary_is_installed('lvm2', 'lvm2') or return;
init();
1;