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.pm12
1 files changed, 0 insertions, 12 deletions
diff --git a/perl-install/any.pm b/perl-install/any.pm
index ea96ed8c6..27b505f82 100644
--- a/perl-install/any.pm
+++ b/perl-install/any.pm
@@ -976,18 +976,6 @@ sub urpmi_add_all_media {
my $log_file = '/root/drakx/updates.log';
my $val = run_program::rooted($::prefix, $binary, '>>', $log_file, '2>>', $log_file, @options);
- if ($val) {
- #- enable Nonfree/Tainted repositories if a package having a matching name is installed
- #- FIXME: this only works for Nonfree for now thanks to kernel-firmware-nonfree
- #- for Tainted to work and for better Nonfree support, we should search in package releases as well
- foreach my $media (qw(Nonfree Tainted)) {
- $in->do_pkgs->are_installed("*" . lc($media) . "*") or next;
- foreach my $type (qw(Release Updates)) {
- run_program::rooted($::prefix, '/usr/libexec/urpmi.update', '--no-ignore', "$media $type");
- }
- }
- }
-
undef $wait;
$val;
}