diff options
author | Anne Nicolas <ennael@mageia.org> | 2015-01-13 14:41:13 +0100 |
---|---|---|
committer | Anne Nicolas <ennael@mageia.org> | 2015-01-13 14:41:13 +0100 |
commit | b670ce9006dd48df8dfaa6a8ade54b7a20484178 (patch) | |
tree | 9c12972c931c7fb2cbb65d2121194c4f32c0c0d8 | |
parent | 5c1ecde0a0429e37ad3316dce7e0f6042c5048ff (diff) | |
download | bcd-b670ce9006dd48df8dfaa6a8ade54b7a20484178.tar bcd-b670ce9006dd48df8dfaa6a8ade54b7a20484178.tar.gz bcd-b670ce9006dd48df8dfaa6a8ade54b7a20484178.tar.bz2 bcd-b670ce9006dd48df8dfaa6a8ade54b7a20484178.tar.xz bcd-b670ce9006dd48df8dfaa6a8ade54b7a20484178.zip |
use recommends instead of suggests
-rw-r--r-- | BCD/CheckMedia.pm | 4 |
1 files 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); |