summaryrefslogtreecommitdiffstats
path: root/urpm.pm
diff options
context:
space:
mode:
authorRafael Garcia-Suarez <rgarciasuarez@mandriva.org>2004-08-26 09:26:37 +0000
committerRafael Garcia-Suarez <rgarciasuarez@mandriva.org>2004-08-26 09:26:37 +0000
commita118299b080063c73f0fd80318889aa4079f3e32 (patch)
treec7268fa96065aff0caab357828cea81dcd1bfee9 /urpm.pm
parenta6cd600030eb6820c41ca80d063664f708b434c6 (diff)
downloadurpmi-a118299b080063c73f0fd80318889aa4079f3e32.tar
urpmi-a118299b080063c73f0fd80318889aa4079f3e32.tar.gz
urpmi-a118299b080063c73f0fd80318889aa4079f3e32.tar.bz2
urpmi-a118299b080063c73f0fd80318889aa4079f3e32.tar.xz
urpmi-a118299b080063c73f0fd80318889aa4079f3e32.zip
Make the --probe-synthesis option compatible with --distrib in
urpmi.addmedia.
Diffstat (limited to 'urpm.pm')
-rw-r--r--urpm.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/urpm.pm b/urpm.pm
index fcec839d..e9562e12 100644
--- a/urpm.pm
+++ b/urpm.pm
@@ -730,7 +730,7 @@ sub add_distrib_media {
$urpm->add_medium(
$name ? "$descr ($name$medium)" : $descr,
"$url/$rpmsdir",
- offset_pathname($url, $rpmsdir) . "/$distrib_root/$hdlist",
+ offset_pathname($url, $rpmsdir) . "/$distrib_root/" . ($options{probe_with} eq 'synthesis' ? 'synthesis.' : '') . $hdlist,
index_name => 0,
%options,
);