summaryrefslogtreecommitdiff
path: root/cmdline/apt-extracttemplates.cc
diff options
context:
space:
mode:
authorArch Librarian <arch@canonical.com>2004-09-20 16:57:48 +0000
committerArch Librarian <arch@canonical.com>2004-09-20 16:57:48 +0000
commit418349f014b591678219381ea88c36ed21e02b54 (patch)
tree4528365e3dba7cf89fb17f0759fb3bea85a9e8ac /cmdline/apt-extracttemplates.cc
parentfdba65036a5bb3940bf98a7dfd9851f45751e562 (diff)
downloadapt-418349f014b591678219381ea88c36ed21e02b54.tar.gz
Fliped comparision operator. Closes: #94618
Author: jgg Date: 2001-04-29 05:40:36 GMT Fliped comparision operator. Closes: #94618
Diffstat (limited to 'cmdline/apt-extracttemplates.cc')
-rw-r--r--cmdline/apt-extracttemplates.cc13
1 files changed, 8 insertions, 5 deletions
diff --git a/cmdline/apt-extracttemplates.cc b/cmdline/apt-extracttemplates.cc
index 60ec3c3fd..4c54c67b0 100644
--- a/cmdline/apt-extracttemplates.cc
+++ b/cmdline/apt-extracttemplates.cc
@@ -1,6 +1,6 @@
// -*- mode: cpp; mode: fold -*-
// Description /*{{{*/
-// $Id: apt-extracttemplates.cc,v 1.6 2001/03/03 23:02:39 tausq Exp $
+// $Id: apt-extracttemplates.cc,v 1.7 2001/04/29 05:40:36 jgg Exp $
/* ######################################################################
APT Extract Templates - Program to extract debconf config and template
@@ -309,13 +309,16 @@ bool Go(CommandLine &CmdL)
{
// Check to make sure debconf dependencies are
// satisfied
+ cout << "Check " << file.DepVer << ',' << debconfver << endl;
if (file.DepVer != "" &&
- DebFile::Cache->VS->CheckDep(file.DepVer.c_str(),
- file.DepOp, debconfver.c_str()) == false)
+ DebFile::Cache->VS->CheckDep(debconfver.c_str(),
+ file.DepOp,file.DepVer.c_str()
+ ) == false)
continue;
if (file.PreDepVer != "" &&
- DebFile::Cache->VS->CheckDep(file.PreDepVer.c_str(),
- file.PreDepOp, debconfver.c_str()) == false)
+ DebFile::Cache->VS->CheckDep(debconfver.c_str(),
+ file.PreDepOp,file.PreDepVer.c_str()
+ ) == false)
continue;
WriteConfig(file);