summaryrefslogtreecommitdiff
path: root/cmdline
diff options
context:
space:
mode:
authorArch Librarian <arch@canonical.com>2004-09-20 16:55:42 +0000
committerArch Librarian <arch@canonical.com>2004-09-20 16:55:42 +0000
commit459681d3b8093c20a39400c00bcee43d26e964c6 (patch)
treef7266e70c8ec70da188689e7838880801e06d3b1 /cmdline
parent63d3141a1f9875ad970ad7850e56a9bf97256895 (diff)
More CD fixes
Author: jgg Date: 2000-01-17 07:11:49 GMT More CD fixes
Diffstat (limited to 'cmdline')
-rw-r--r--cmdline/apt-cdrom.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/cmdline/apt-cdrom.cc b/cmdline/apt-cdrom.cc
index 35a024a10..1d742d725 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.33 2000/01/16 05:36:17 jgg Exp $
+// $Id: apt-cdrom.cc,v 1.34 2000/01/17 07:11:49 jgg Exp $
/* ######################################################################
APT CDROM - Tool for handling APT's CDROM database.
@@ -589,8 +589,8 @@ bool DoAdd(CommandLine &)
Name = PromptLine("");
if (Name.empty() == false &&
Name.find('"') == string::npos &&
- Name.find(':') == string::npos &&
- Name.find('/') == string::npos)
+ Name.find('[') == string::npos &&
+ Name.find(']') == string::npos)
break;
cout << "That is not a valid name, try again " << endl;
}