CDROMMethod::CDROMMethod() : pkgAcqMethod("1.0",SingleInstance | LocalOnly |
SendConfig | NeedsCleanup |
Removable),
- DatabaseLoaded(false),
+ DatabaseLoaded(false),
+ Debug(false),
MountedByApt(false)
{
UdevCdroms.Dlopen();
return true;
}
- bool AutoDetect = _config->FindB("Acquire::cdrom::AutoDetect", false);
- CDROM = _config->FindDir("Acquire::cdrom::mount","/cdrom/");
+ bool AutoDetect = _config->FindB("Acquire::cdrom::AutoDetect", true);
+ CDROM = _config->FindDir("Acquire::cdrom::mount");
if (Debug)
clog << "Looking for CDROM at " << CDROM << endl;