[interchange-cvs] interchange - heins modified lib/Vend/Config.pm

interchange-cvs at icdevgroup.org interchange-cvs at icdevgroup.org
Mon Jul 21 14:44:00 EDT 2003


User:      heins
Date:      2003-07-21 17:44:03 GMT
Modified:  lib/Vend Config.pm
Log:
* Don't run set_defaults at all for a subcatalog, as they should be set
  for the base catalog.

Revision  Changes    Path
2.122     +3 -3      interchange/lib/Vend/Config.pm


rev 2.122, prev_rev 2.121
Index: Config.pm
===================================================================
RCS file: /var/cvs/interchange/lib/Vend/Config.pm,v
retrieving revision 2.121
retrieving revision 2.122
diff -u -r2.121 -r2.122
--- Config.pm	19 Jul 2003 00:41:57 -0000	2.121
+++ Config.pm	21 Jul 2003 17:44:03 -0000	2.122
@@ -1,6 +1,6 @@
 # Vend::Config - Configure Interchange
 #
-# $Id: Config.pm,v 2.121 2003/07/19 00:41:57 mheins Exp $
+# $Id: Config.pm,v 2.122 2003/07/21 17:44:03 mheins Exp $
 #
 # Copyright (C) 2002-2003 Interchange Development Group
 # Copyright (C) 1996-2002 Red Hat, Inc.
@@ -48,7 +48,7 @@
 use Vend::File;
 use Vend::Data;
 
-$VERSION = substr(q$Revision: 2.121 $, 10);
+$VERSION = substr(q$Revision: 2.122 $, 10);
 
 my %CDname;
 my %CPname;
@@ -988,7 +988,7 @@
 	# check for unspecified directives that don't have default values
 
 	# but set some first if appropriate
-	set_defaults();
+	set_defaults() unless $C->{BaseCatalog};
 
 	REQUIRED: {
 		last REQUIRED if defined $subconfig;







More information about the interchange-cvs mailing list