diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2008-02-26 19:30:10 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2008-02-26 19:30:10 +0000 |
commit | b102eaf10b8c90396527e72a6152b0ee1491e467 (patch) | |
tree | ef139431b1b84fd437ff23b7209fab0fc649a544 /urpm/removable.pm | |
parent | 98a27c2141b2ef3ba6f1a191aac672350c318fa1 (diff) | |
download | urpmi-b102eaf10b8c90396527e72a6152b0ee1491e467.tar urpmi-b102eaf10b8c90396527e72a6152b0ee1491e467.tar.gz urpmi-b102eaf10b8c90396527e72a6152b0ee1491e467.tar.bz2 urpmi-b102eaf10b8c90396527e72a6152b0ee1491e467.tar.xz urpmi-b102eaf10b8c90396527e72a6152b0ee1491e467.zip |
s/unless/if (!/
Diffstat (limited to 'urpm/removable.pm')
-rw-r--r-- | urpm/removable.pm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/urpm/removable.pm b/urpm/removable.pm index cbd56ed2..888eb079 100644 --- a/urpm/removable.pm +++ b/urpm/removable.pm @@ -87,7 +87,7 @@ sub _check_notfound { chomp; my $dir_ = file_from_local_url($_) or next; $dir_ =~ m!/.*/! or next; #- is this really needed?? - unless ($dir) { + if (!$dir) { $dir = $dir_; try_mounting($urpm, $dir, $removable); } @@ -137,7 +137,7 @@ sub _examine_removable_medium { $sources->{$i} = "$urpm->{cachedir}/rpms/$filename"; } } - unless ($sources->{$i}) { + if (!$sources->{$i}) { #- fallback to use other method for retrieving the file later. $urpm->{error}(N("unable to read rpm file [%s] from medium \"%s\"", $filepath, $medium->{name})); } |