diff options
author | Arch Librarian <arch@canonical.com> | 2004-09-20 16:55:42 +0000 |
---|---|---|
committer | Arch Librarian <arch@canonical.com> | 2004-09-20 16:55:42 +0000 |
commit | 459681d3b8093c20a39400c00bcee43d26e964c6 (patch) | |
tree | f7266e70c8ec70da188689e7838880801e06d3b1 /methods/cdrom.cc | |
parent | 63d3141a1f9875ad970ad7850e56a9bf97256895 (diff) |
More CD fixes
Author: jgg
Date: 2000-01-17 07:11:49 GMT
More CD fixes
Diffstat (limited to 'methods/cdrom.cc')
-rw-r--r-- | methods/cdrom.cc | 8 |
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; |