diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2008-02-26 23:02:08 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2008-02-26 23:02:08 +0000 |
commit | 3cd59d9a205add7dd714cde4c9cc07743f993813 (patch) | |
tree | 0d10fce52c5ee844434767b9dca3c5a765860285 /urpm | |
parent | d6b6da9a28ddcbee6c31615d6a7df6a58abddee6 (diff) | |
download | urpmi-3cd59d9a205add7dd714cde4c9cc07743f993813.tar urpmi-3cd59d9a205add7dd714cde4c9cc07743f993813.tar.gz urpmi-3cd59d9a205add7dd714cde4c9cc07743f993813.tar.bz2 urpmi-3cd59d9a205add7dd714cde4c9cc07743f993813.tar.xz urpmi-3cd59d9a205add7dd714cde4c9cc07743f993813.zip |
_mount_it() can't fail!
Diffstat (limited to 'urpm')
-rw-r--r-- | urpm/removable.pm | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/urpm/removable.pm b/urpm/removable.pm index 582efd74..d8d277cd 100644 --- a/urpm/removable.pm +++ b/urpm/removable.pm @@ -187,7 +187,6 @@ sub _examine_removable_medium_ { my $dir = file_from_local_url($medium->{url}); - if (-e $dir) { while (my ($i, $url) = each %$medium_list) { my $filepath = _filepath($url) or next; @@ -198,9 +197,6 @@ sub _examine_removable_medium_ { $urpm->{error}(N("unable to read rpm file [%s] from medium \"%s\"", $filepath, $medium->{name})); } } - } else { - $urpm->{error}(N("medium \"%s\" is not available", $medium->{name})); - } } #- side-effects: |