diff options
author | Thierry Vignaud <thierry.vignaud@gmail.com> | 2017-03-15 14:56:37 +0100 |
---|---|---|
committer | Thierry Vignaud <thierry.vignaud@gmail.com> | 2017-03-17 02:13:58 +0100 |
commit | b0cab9b33414e0b0a20837345c5502d7aa074ccf (patch) | |
tree | 66f8624909e2474b703699af09d6e26e5c792cf2 | |
parent | de1fcc27f943f4ae7b8ac4147a36b196c236619e (diff) | |
download | drakx-b0cab9b33414e0b0a20837345c5502d7aa074ccf.tar drakx-b0cab9b33414e0b0a20837345c5502d7aa074ccf.tar.gz drakx-b0cab9b33414e0b0a20837345c5502d7aa074ccf.tar.bz2 drakx-b0cab9b33414e0b0a20837345c5502d7aa074ccf.tar.xz drakx-b0cab9b33414e0b0a20837345c5502d7aa074ccf.zip |
faster check for os-prober
-rw-r--r-- | perl-install/any.pm | 2 |
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_( { |