From b7b03883a2ab16692b360d623a176af6fc48c63a Mon Sep 17 00:00:00 2001 From: Marius Tomaschewski Date: Thu, 2 Mar 2006 16:13:09 +0000 Subject: [PATCH] - Fixed to use cleaned up attachPoint instead of the url path in mediaSource. --- zypp/media/MediaDIR.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/zypp/media/MediaDIR.cc b/zypp/media/MediaDIR.cc index 10bc0bd4c..abbb18920 100644 --- a/zypp/media/MediaDIR.cc +++ b/zypp/media/MediaDIR.cc @@ -41,7 +41,7 @@ namespace zypp { MediaDIR::MediaDIR( const Url & url_r, const Pathname & /*attach_point_hint_r*/ ) : MediaHandler( url_r, url_r.getPathName(), - "/", // urlpath at attachpoint + "/", // urlpath below attachpoint false ) // does_download { MIL << "MediaDIR::MediaDIR(" << url_r << ")" << endl; @@ -59,7 +59,7 @@ namespace zypp { { if(next) ZYPP_THROW(MediaNotSupportedException(url())); - MediaSourceRef media(new MediaSource("dir", _url.getPathName())); + MediaSourceRef media(new MediaSource("dir", attachPoint().asString())); setMediaSource(media); } -- 2.34.1