// -*- mode: cpp; mode: fold -*-
// Description /*{{{*/
-// $Id: cdrom.cc,v 1.12 1999/07/03 03:10:36 jgg Exp $
+// $Id: cdrom.cc,v 1.15 1999/10/02 04:14:54 jgg Exp $
/* ######################################################################
CDROM URI method for APT
class CDROMMethod : public pkgAcqMethod
{
- Configuration Database;
bool DatabaseLoaded;
+ ::Configuration Database;
string CurrentID;
virtual bool Fetch(FetchItem *Itm);
{
Res.LastModified = Itm->LastModified;
Res.IMSHit = true;
+ Res.Filename = File;
URIDone(Res);
return true;
}
CDROM.c_str());
if (MediaFail(Get.Host,CDROM) == false)
{
- clog << "M-Fail" << endl;
CurrentID = "FAIL";
Fail("Wrong CD",true);
return true;