summaryrefslogtreecommitdiff
path: root/cmdline/apt-cdrom.cc
diff options
context:
space:
mode:
authorArch Librarian <arch@canonical.com>2004-09-20 16:58:37 +0000
committerArch Librarian <arch@canonical.com>2004-09-20 16:58:37 +0000
commitdd27443ee7585b4d53baa3f2d5173a3725d69b17 (patch)
treee24d224815bfad7e8491ac6bd9896bef275530a4 /cmdline/apt-cdrom.cc
parentc86f0a01b91771152b7ef6704deb2f9cf6196446 (diff)
Fix bug #97364
Author: jgg Date: 2001-08-18 22:20:40 GMT Fix bug #97364
Diffstat (limited to 'cmdline/apt-cdrom.cc')
-rw-r--r--cmdline/apt-cdrom.cc6
1 files changed, 5 insertions, 1 deletions
diff --git a/cmdline/apt-cdrom.cc b/cmdline/apt-cdrom.cc
index aad4dff1a..884060e48 100644
--- a/cmdline/apt-cdrom.cc
+++ b/cmdline/apt-cdrom.cc
@@ -1,6 +1,6 @@
// -*- mode: cpp; mode: fold -*-
// Description /*{{{*/
-// $Id: apt-cdrom.cc,v 1.38 2001/05/27 04:46:43 jgg Exp $
+// $Id: apt-cdrom.cc,v 1.39 2001/08/18 22:20:40 jgg Exp $
/* ######################################################################
APT CDROM - Tool for handling APT's CDROM database.
@@ -63,6 +63,10 @@ bool FindPackages(string CD,vector<string> &List,vector<string> &SList,
InfoDir = CD + ".disk/";
}
+ // Don't look into directories that have been marked to ingore.
+ if (stat(".aptignr",&Bur) == 0)
+ return true;
+
/* Aha! We found some package files. We assume that everything under
this dir is controlled by those package files so we don't look down
anymore */