26 Downloader::Downloader()
29 Downloader::Downloader(
const RepoInfo & repoinfo) : _repoinfo(repoinfo)
38 WAR <<
"Non implemented" << endl;
43 const Pathname &dest_dir,
46 WAR <<
"Non implemented" << endl;
51 Pathname sigpath = masterIndex_r.extend(
".asc" );
52 Pathname keypath = masterIndex_r.extend(
".key" );
57 start( destdir_r, media_r );
62 bool isSigned = PathInfo(destdir_r / sigpath).isExist();
66 if ( isSigned ||
repoInfo().repoGpgCheckIsMandatory() )
75 if ( PathInfo(destdir_r / keypath).isExist() )
86 WAR <<
"Accept unsigned repository because repoGpgCheck is not mandatory for " <<
repoInfo().
alias() << endl;
91 WAR <<
"Signature checking disabled in config of repository " <<
repoInfo().
alias() << endl;
95 start( destdir_r, media_r );