summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2006-11-20 14:49:56 +0000
committerPascal Rigaux <pixel@mandriva.com>2006-11-20 14:49:56 +0000
commitd24fe494474d65c7871fd811234ed8560fcaf8b3 (patch)
treed62e6a09e2e6841002cc2ef1ddddda9b361d9511
parentc7c8571a94bb9355349651db43936db0a85f9901 (diff)
downloadurpmi-d24fe494474d65c7871fd811234ed8560fcaf8b3.tar
urpmi-d24fe494474d65c7871fd811234ed8560fcaf8b3.tar.gz
urpmi-d24fe494474d65c7871fd811234ed8560fcaf8b3.tar.bz2
urpmi-d24fe494474d65c7871fd811234ed8560fcaf8b3.tar.xz
urpmi-d24fe494474d65c7871fd811234ed8560fcaf8b3.zip
by safe
-rw-r--r--urpm.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/urpm.pm b/urpm.pm
index 35bb6d39..45133f7e 100644
--- a/urpm.pm
+++ b/urpm.pm
@@ -401,7 +401,7 @@ sub hdlist_or_synthesis_for_virtual_medium {
my ($medium) = @_;
my $path = file_from_file_url($medium->{url}) or return;
- "$path/$medium->{with_hdlist}";
+ $medium->{with_hdlist} && "$path/$medium->{with_hdlist}";
}
sub statedir_hdlist_or_synthesis {