summaryrefslogtreecommitdiffstats
path: root/perl-install/install/media.pm
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2009-04-06 15:57:14 +0000
committerThierry Vignaud <tv@mandriva.org>2009-04-06 15:57:14 +0000
commit23e13f4748fdb78c859e6f528619326807c36175 (patch)
tree9ef0ded0504c22b6009536ac89fe0d642b119a21 /perl-install/install/media.pm
parent4efe86e9925dcdec803bf0358ec8a5ae05c17aaa (diff)
downloaddrakx-backup-do-not-use-23e13f4748fdb78c859e6f528619326807c36175.tar
drakx-backup-do-not-use-23e13f4748fdb78c859e6f528619326807c36175.tar.gz
drakx-backup-do-not-use-23e13f4748fdb78c859e6f528619326807c36175.tar.bz2
drakx-backup-do-not-use-23e13f4748fdb78c859e6f528619326807c36175.tar.xz
drakx-backup-do-not-use-23e13f4748fdb78c859e6f528619326807c36175.zip
kill now unused _get_media_cfg_options()
Diffstat (limited to 'perl-install/install/media.pm')
-rw-r--r--perl-install/install/media.pm17
1 files changed, 0 insertions, 17 deletions
diff --git a/perl-install/install/media.pm b/perl-install/install/media.pm
index 7183ef11f..3ab8af56b 100644
--- a/perl-install/install/media.pm
+++ b/perl-install/install/media.pm
@@ -621,23 +621,6 @@ sub _url2phys_medium {
}
}
-# shrinked down get_media_cfg() in order to keep options that urpmi discards:
-sub _get_media_cfg_options {
- my ($o, $phys_medium) = @_;
-
- my ($distribconf);
- if (getAndSaveFile_($phys_medium, 'media_info/media.cfg', '/tmp/media.cfg')) {
- ($distribconf) = _parse_media_cfg('/tmp/media.cfg', $phys_medium);
- } else {
- die "media.cfg not found";
- }
-
- my $suppl_CDs = exists $o->{supplmedia} ? $o->{supplmedia} : $distribconf->{suppl} || 0;
-
- $suppl_CDs, $o->{copy_rpms_on_disk};
-}
-
-
sub get_media_cfg {
my ($o, $phys_medium, $packages, $selected_names, $force_rpmsrate) = @_;