summaryrefslogtreecommitdiff
path: root/methods/cdrom.cc
diff options
context:
space:
mode:
Diffstat (limited to 'methods/cdrom.cc')
-rw-r--r--methods/cdrom.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/methods/cdrom.cc b/methods/cdrom.cc
index e2eddf19e..c367c99a1 100644
--- a/methods/cdrom.cc
+++ b/methods/cdrom.cc
@@ -1,6 +1,6 @@
// -*- mode: cpp; mode: fold -*-
// Description /*{{{*/
-// $Id: cdrom.cc,v 1.16 1999/10/18 00:37:36 jgg Exp $
+// $Id: cdrom.cc,v 1.17 2000/01/17 07:11:49 jgg Exp $
/* ######################################################################
CDROM URI method for APT
@@ -38,8 +38,9 @@ class CDROMMethod : public pkgAcqMethod
// CDROMMethod::CDROMethod - Constructor /*{{{*/
// ---------------------------------------------------------------------
/* */
-CDROMMethod::CDROMMethod() : pkgAcqMethod("1.0",SingleInstance | LocalOnly |
- SendConfig | NeedsCleanup),
+CDROMMethod::CDROMMethod() : pkgAcqMethod("1.0",SingleInstance | LocalOnly |
+ SendConfig | NeedsCleanup |
+ Removable),
DatabaseLoaded(false),
Mounted(false)
{
@@ -175,7 +176,6 @@ bool CDROMMethod::Fetch(FetchItem *Itm)
if (NewID.empty() == false)
CurrentID = NewID;
Res.LastModified = Buf.st_mtime;
- Res.IMSHit = true;
Res.Size = Buf.st_size;
URIDone(Res);
return true;