+ // A hit
+ if (Database.Find("CD::" + NewID) == Get.Host)
+ {
+ Hit = true;
+ break;
+ }
+ }
+
+ if (Hit == true)
+ break;
+
+ // I suppose this should prompt somehow?
+ if (_config->FindB("APT::CDROM::NoMount",false) == false &&
+ UnmountCdrom(CDROM) == false)
+ return _error->Error(_("Unable to unmount the CD-ROM in %s, it may still be in use."),
+ CDROM.c_str());