From a1c8899efa1620762ef9ac0fc8728bf8482c5f5c Mon Sep 17 00:00:00 2001 From: Rafael Garcia-Suarez Date: Tue, 3 Jan 2006 18:11:51 +0000 Subject: Add explicit loop names --- urpm.pm | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/urpm.pm b/urpm.pm index 89575bf6..ca34b86c 100644 --- a/urpm.pm +++ b/urpm.pm @@ -1049,7 +1049,7 @@ sub update_media { my %media_redone; MEDIA: foreach my $medium (@{$urpm->{media}}) { - $medium->{ignore} and next; + $medium->{ignore} and next MEDIA; $options{forcekey} and delete $medium->{'key-ids'}; @@ -1263,7 +1263,7 @@ this could happen if you mounted manually the directory when creating the medium } } } - $medium->{modified} or next; + $medium->{modified} or next MEDIA; } } @@ -1316,7 +1316,7 @@ this could happen if you mounted manually the directory when creating the medium $medium->{ignore} = 1; } } - next; + next MEDIA; } } } else { @@ -1537,7 +1537,7 @@ this could happen if you mounted manually the directory when creating the medium } } } - $medium->{modified} or next; + $medium->{modified} or next MEDIA; } } else { #- at this point, we don't if a basename exists and is valid, let probe it later. @@ -1656,7 +1656,7 @@ this could happen if you mounted manually the directory when creating the medium $medium->{ignore} = 1; } } - next; + next MEDIA; } } -- cgit v1.2.1