Comment # 30 on bug 875406 from
(In reply to Michael Andres from comment #29)
> (In reply to Fabian Vogt from comment #25)
> > So reassigning to libzypp.
> 
> Without having had a closer look at the zypp code yet, 
> 
> > 2017-07-12 16:57:57 <1> lagarto(11401) [Ruby] modules/Packages.rb:1332 
> > Copying: cp -r '/var/tmp/TmpDir.80Pva6//suse/setup/slide//txt/de_DE'/*
> >                '/tmp/YaST2-11401-JOb4oF/slidedir//txt/de_DE/'
> 
> YAST should be prepared to find an empty directory. With directory.yast
> files like the above, you won't get back any files either.

There is a difference between a directory not existing and an empty directory.

(Not a YaST dev, so might be wrong)
The function that YaST uses to determine whether a remote dir exists checks for
a zypp exception, it expects that the zypp::Fetcher throws an Exception if the
directory does not exist:
https://github.com/yast/yast-pkg-bindings/blob/3508f517bb93974c1484da2b4f0c124368935f60/src/Source_Download.cc


You are receiving this mail because: