From b670ce9006dd48df8dfaa6a8ade54b7a20484178 Mon Sep 17 00:00:00 2001 From: Anne Nicolas Date: Tue, 13 Jan 2015 14:41:13 +0100 Subject: use recommends instead of suggests --- BCD/CheckMedia.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/BCD/CheckMedia.pm b/BCD/CheckMedia.pm index f116c61..7d45029 100644 --- a/BCD/CheckMedia.pm +++ b/BCD/CheckMedia.pm @@ -24,7 +24,7 @@ sub rpmcheck_list { my $urpmq_options = "--requires-recursive -c --sources $isoconf->{mediainfo}{urpmi_option}"; my $pkgs; foreach (@toget) { $_ or next; chomp($_); $pkgs = "$_ " . $pkgs } - my $cmd_do_it = "LC_ALL=C sudo -P chroot $chroot_path urpmq --prefer $DISTRIB,$THEME $urpmq_options --no-suggests"; + my $cmd_do_it = "LC_ALL=C sudo -P chroot $chroot_path urpmq --prefer $DISTRIB,$THEME $urpmq_options --no-recommends"; do_fork($pkgs, $list_filename, $list, $cmd_do_it); } else { print_color("$LOG No rpmcheck error", $error_color); @@ -41,7 +41,7 @@ sub smartcheck_list { my $urpmq_options = "--requires-recursive -c --sources $isoconf->{mediainfo}{urpmi_option}"; my $pkgs; foreach (@toget) { $_ or next; chomp($_); $pkgs = "$_ " . $pkgs } - my $cmd_do_it = "LC_ALL=C sudo -P chroot $chroot_path urpmq --prefer $DISTRIB,$THEME $urpmq_options --no-suggests"; + my $cmd_do_it = "LC_ALL=C sudo -P chroot $chroot_path urpmq --prefer $DISTRIB,$THEME $urpmq_options --no-recommends"; do_fork($pkgs, $list_filename, $list, $cmd_do_it); } else { print_color("$LOG No smart check error", $error_color); -- cgit v1.2.1