summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--urpm/media.pm5
1 files changed, 2 insertions, 3 deletions
diff --git a/urpm/media.pm b/urpm/media.pm
index ca7e8c4b..3dd9747b 100644
--- a/urpm/media.pm
+++ b/urpm/media.pm
@@ -310,9 +310,8 @@ sub _valid_synthesis_dir {
sub _url_with_synthesis_rel {
my ($medium) = @_;
- $medium->{with_synthesis}
- ? $medium->{with_synthesis}
- : "$medium->{media_info_dir}/synthesis.hdlist.cz";
+ $medium->{with_synthesis} ||
+ "$medium->{media_info_dir}/synthesis.hdlist.cz";
}
sub _url_with_synthesis {