summaryrefslogtreecommitdiffstats
path: root/perl-install/any.pm
diff options
context:
space:
mode:
authorThierry Vignaud <thierry.vignaud@gmail.com>2017-03-15 14:56:37 +0100
committerThierry Vignaud <thierry.vignaud@gmail.com>2017-03-17 02:13:58 +0100
commitb0cab9b33414e0b0a20837345c5502d7aa074ccf (patch)
tree66f8624909e2474b703699af09d6e26e5c792cf2 /perl-install/any.pm
parentde1fcc27f943f4ae7b8ac4147a36b196c236619e (diff)
downloaddrakx-b0cab9b33414e0b0a20837345c5502d7aa074ccf.tar
drakx-b0cab9b33414e0b0a20837345c5502d7aa074ccf.tar.gz
drakx-b0cab9b33414e0b0a20837345c5502d7aa074ccf.tar.bz2
drakx-b0cab9b33414e0b0a20837345c5502d7aa074ccf.tar.xz
drakx-b0cab9b33414e0b0a20837345c5502d7aa074ccf.zip
faster check for os-prober
Diffstat (limited to 'perl-install/any.pm')
-rw-r--r--perl-install/any.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/any.pm b/perl-install/any.pm
index 018f7d9af..025daecd2 100644
--- a/perl-install/any.pm
+++ b/perl-install/any.pm
@@ -629,7 +629,7 @@ sub setupBootloader__grub2 {
require network::network; #- to list network profiles
my $vga = Xconfig::resolution_and_depth::from_bios($b->{vga});
- my $os_prober = run_program::rooted($::prefix, 'rpm', '-q', 'os-prober');
+ my $os_prober = $in->do_pkgs->is_installed('os-prober', '/usr/bin/os-prober');
my $res = $in->ask_from_(
{