aboutsummaryrefslogtreecommitdiffstats
path: root/BCD
diff options
context:
space:
mode:
Diffstat (limited to 'BCD')
-rw-r--r--BCD/Media.pm18
1 files changed, 9 insertions, 9 deletions
diff --git a/BCD/Media.pm b/BCD/Media.pm
index 49450f0..ed7b7c1 100644
--- a/BCD/Media.pm
+++ b/BCD/Media.pm
@@ -453,15 +453,15 @@ sub create_list {
###
# do the job with update, find missing package from list
# only if the media as udpate option enable
- if ($media->{updates} eq "yes") {
- my $cmd_find_missing_update = "LC_ALL=C sudo chroot $chroot_path urpmq --update --prefer $DISTRIB,$THEME $urpmq_options $urpmq_extra_opt $tested_wanted $tested_exclude 2> $urpmq_error_update";
- print_color("$LOG first attempt to run urpmq --update on media $media->{name} (to find all packages not availables in update)", $color);
- system($cmd_find_missing_update);
- # urpmq error found, so we have to remove some entry in the list of wanted packages
- my $final_list_update = remove_notpresent($urpmq_error_update, $wanted);
- my $cmd_do_it_update = "LC_ALL=C sudo -P chroot $chroot_path urpmq --update -a --prefer $DISTRIB,$THEME $urpmq_options $urpmq_extra_opt $tested_exclude";
- do_fork($final_list_update, "$list_filename" . "_update", $list_update, $cmd_do_it_update);
- }
+## if ($media->{updates} eq "yes") {
+## my $cmd_find_missing_update = "LC_ALL=C sudo chroot $chroot_path urpmq --update --prefer $DISTRIB,$THEME $urpmq_options $urpmq_extra_opt $tested_wanted $tested_exclude 2> $urpmq_error_update";
+## print_color("$LOG first attempt to run urpmq --update on media $media->{name} (to find all packages not availables in update)", $color);
+## system($cmd_find_missing_update);
+## # urpmq error found, so we have to remove some entry in the list of wanted packages
+## my $final_list_update = remove_notpresent($urpmq_error_update, $wanted);
+## my $cmd_do_it_update = "LC_ALL=C sudo -P chroot $chroot_path urpmq --update -a --prefer $DISTRIB,$THEME $urpmq_options $urpmq_extra_opt $tested_exclude";
+## do_fork($final_list_update, "$list_filename" . "_update", $list_update, $cmd_do_it_update);
+## }
###
# select rpm from all media, find missing from list