From 1814b017ba5da5b4ad6f498f118bc5554131ea63 Mon Sep 17 00:00:00 2001
From: Arch Librarian <arch@canonical.com>
Date: Mon, 20 Sep 2004 17:03:43 +0000
Subject: * Exclude subdirectories named 'debian-installer' from ... Author:
 mdz Date: 2003-09-12 01:48:33 GMT * Exclude subdirectories named
 'debian-installer' from the apt-cdrom search (Closes: #210485)

---
 cmdline/apt-cdrom.cc | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

(limited to 'cmdline')

diff --git a/cmdline/apt-cdrom.cc b/cmdline/apt-cdrom.cc
index 35430f575..ccb5af766 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.43 2003/04/26 23:26:13 doogie Exp $
+// $Id: apt-cdrom.cc,v 1.44 2003/09/12 01:48:33 mdz Exp $
 /* ######################################################################
    
    APT CDROM - Tool for handling APT's CDROM database.
@@ -101,7 +101,8 @@ bool FindPackages(string CD,vector<string> &List,vector<string> &SList,
 	  //strcmp(Dir->d_name,"source") == 0 ||
 	  strcmp(Dir->d_name,".disk") == 0 ||
 	  strcmp(Dir->d_name,"experimental") == 0 ||
-	  strcmp(Dir->d_name,"binary-all") == 0)
+	  strcmp(Dir->d_name,"binary-all") == 0 ||
+          strcmp(Dir->d_name,"debian-installer") == 0)
 	 continue;
 
       // See if the name is a sub directory
-- 
cgit v1.2.3