summaryrefslogtreecommitdiffstats
path: root/perl-install/any.pm
diff options
context:
space:
mode:
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_(
{