From 171ad7c79eacd797a2aef0488a52069bb1ef8a62 Mon Sep 17 00:00:00 2001 From: Pascal Terjan Date: Tue, 3 Oct 2017 23:54:58 +0100 Subject: Delete old commented code --- lib/Iurt/Urpmi.pm | 9 --------- 1 file changed, 9 deletions(-) diff --git a/lib/Iurt/Urpmi.pm b/lib/Iurt/Urpmi.pm index 837e858..5156c99 100644 --- a/lib/Iurt/Urpmi.pm +++ b/lib/Iurt/Urpmi.pm @@ -69,15 +69,6 @@ sub urpmi_command { # FIXME chrooted_urpmi should always use urpmi_root and not support local media $self->{use__urpmi_root} ? &set_command__urpmi_root : &set_command__use_distrib; -# CM: commented out -# this was causing rpm database corruption problems and the packages -# are already installed -# -# if (!install_packages($self, 'chroot', $chroot_tmp, $local_spool, {}, 'configure', "[ADMIN] installation of urpmi and sudo failed in the chroot $run->{my_arch}", { maintainer => $config->{admin}, check => 1 }, 'urpmi', 'sudo')) { -# $run->{chrooted_urpmi} = 0; -# return -# } - # Here should be added only the needed media for the given package # main/release -> main/release # main/testing -> main/release main/testing -- cgit v1.2.1