From 52adb090c72578117e19632a3d847290cc3549dd Mon Sep 17 00:00:00 2001 From: Pascal Terjan Date: Mon, 19 Oct 2009 13:00:45 +0000 Subject: avoid error messages when using lvm in draklive-install (#36415) --- perl-install/NEWS | 1 + perl-install/lvm.pm | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/perl-install/NEWS b/perl-install/NEWS index 2723f05d7..30d2ca64f 100644 --- a/perl-install/NEWS +++ b/perl-install/NEWS @@ -1,5 +1,6 @@ - fix raid initialisation during install (#54706) - fix raid detection during install (#54706) +- avoid error messages when using lvm in draklive-install (#36415) Version 12.67 - 18 October 2009 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; -- cgit v1.2.1