r8179 | jkupec | 2008-01-02 18:23:07 +0100 (Mi, 02 Jan 2008) | 3 lines
- enabled usage of symlinks to iso files (#274651)
- this will probably work only for file/dir and cd/dvd schemes
------------------------------------------------------------------------
ZYPP_THROW(e3);
}
- Pathname isofile = manager.localPath(_parentId, _isofile);
- PathInfo isoinfo( isofile, PathInfo::LSTAT);
- if( !isoinfo.isFile())
+ Pathname isofile = expandlink(manager.localPath(_parentId, _isofile));
+ if( isofile.empty() || !PathInfo(isofile).isFile())
{
ZYPP_THROW(MediaNotSupportedException(_url));
}