From 459681d3b8093c20a39400c00bcee43d26e964c6 Mon Sep 17 00:00:00 2001 From: Arch Librarian Date: Mon, 20 Sep 2004 16:55:42 +0000 Subject: More CD fixes Author: jgg Date: 2000-01-17 07:11:49 GMT More CD fixes --- methods/cdrom.cc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'methods') 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; -- cgit v1.2.3