summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2008-02-29 16:47:00 +0000
committerPascal Rigaux <pixel@mandriva.com>2008-02-29 16:47:00 +0000
commit1a0911331fb172b541c764904b5174afee1bf64b (patch)
tree236d73dd467bb6dcbd1228bb5b490d6510e25682
parent9063a6cc6258bc6834b45f0fefe1fcad335931cb (diff)
downloadurpmi-1a0911331fb172b541c764904b5174afee1bf64b.tar
urpmi-1a0911331fb172b541c764904b5174afee1bf64b.tar.gz
urpmi-1a0911331fb172b541c764904b5174afee1bf64b.tar.bz2
urpmi-1a0911331fb172b541c764904b5174afee1bf64b.tar.xz
urpmi-1a0911331fb172b541c764904b5174afee1bf64b.zip
remove some functions that were moved to urpm::cdrom
-rw-r--r--urpm/removable.pm27
1 files changed, 0 insertions, 27 deletions
diff --git a/urpm/removable.pm b/urpm/removable.pm
index c6e1bf29..982b5b26 100644
--- a/urpm/removable.pm
+++ b/urpm/removable.pm
@@ -17,33 +17,6 @@ sub _file_or_synthesis_dir {
file_from_local_medium($medium, $o_url);
}
-#- side-effects: $blists_url->[_]{medium}{mntpoint}
-sub _find_blist_url_matching {
- my ($urpm, $blists_url, $mntpoint) = @_;
-
- my @l;
- foreach my $blist (@$blists_url) {
- $blist->{medium}{mntpoint} and next;
-
- # set it, then verify
- $blist->{medium}{mntpoint} = $mntpoint;
- if (-r _file_or_synthesis_dir($blist->{medium}, $blist->{url})) {
- $urpm->{log}("found cdrom $blist->{medium}{name} mounted in $mntpoint");
- push @l, $blist;
- } else {
- delete $blist->{medium}{mntpoint};
- }
- }
- @l;
-}
-
-#- side-effects: none
-sub _look_for_mounted_cdrom_in_mtab() {
-
- map { $_->{mntpoint} }
- grep { $_->{fs} eq 'iso9660' || $_->{fs} eq 'udf' } urpm::sys::read_mtab();
-}
-
#- side-effects:
#- + those of _try_mounting_medium ($medium->{mntpoint})
sub try_mounting_medium {