[interchange-cvs] interchange - racke modified 2 files

interchange-cvs at icdevgroup.org interchange-cvs at icdevgroup.org
Wed Apr 21 08:17:36 EDT 2004


User:      racke
Date:      2004-04-21 12:17:36 GMT
Modified:  debian   interchange.config interchange.postinst
Log:
SOAP server selection wasn't recorded in settings.cfg

Revision  Changes    Path
2.8       +2 -1      interchange/debian/interchange.config


rev 2.8, prev_rev 2.7
Index: interchange.config
===================================================================
RCS file: /anon_cvs/repository/interchange/debian/interchange.config,v
retrieving revision 2.7
retrieving revision 2.8
diff -u -r2.7 -r2.8
--- interchange.config	18 Jun 2003 14:21:01 -0000	2.7
+++ interchange.config	21 Apr 2004 12:17:35 -0000	2.8
@@ -1,6 +1,6 @@
 #! /bin/sh -e
 #
-# Copyright 2000,2001,2002,2003 by Stefan Hornburg (Racke) <racke at linuxia.de>
+# Copyright 2000,2001,2002,2003,2004 by Stefan Hornburg (Racke) <racke at linuxia.de>
 #
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by
@@ -159,6 +159,7 @@
 
 # SOAP server
 if /usr/bin/perl -MSOAP::Lite -e '' 2>/dev/null; then
+	db_set interchange/cansoap true
 	db_input low interchange/soap || true
 else
 	db_input low interchange/cansoap || true



2.18      +10 -2     interchange/debian/interchange.postinst


rev 2.18, prev_rev 2.17
Index: interchange.postinst
===================================================================
RCS file: /anon_cvs/repository/interchange/debian/interchange.postinst,v
retrieving revision 2.17
retrieving revision 2.18
diff -u -r2.17 -r2.18
--- interchange.postinst	6 Dec 2003 00:00:05 -0000	2.17
+++ interchange.postinst	21 Apr 2004 12:17:35 -0000	2.18
@@ -1,6 +1,6 @@
 #! /bin/sh
 #
-# Copyright 2001,2002,2003 by Stefan Hornburg (Racke) <racke at linuxia.de>
+# Copyright 2001,2002,2003,2004 by Stefan Hornburg (Racke) <racke at linuxia.de>
 #
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by
@@ -107,6 +107,14 @@
 else
 	FULL_URL=0
 fi
+db_get interchange/cansoap
+SOAP=0
+if [ "$RET" = true ]; then
+	db_get interchange/soap
+	if [ "$RET" = true ]; then
+		SOAP=1
+	fi
+fi
 db_get interchange/traffic
 TRAFFIC="$RET"
 
@@ -116,7 +124,7 @@
 	HASTHREADS=0
 fi
 
-/usr/sbin/interchangeconfig DEBUG=$DEBUG FULL_URL=$FULL_URL TRAFFIC=$RET MV_GETPPID_BROKEN=$HASTHREADS
+/usr/sbin/interchangeconfig DEBUG=$DEBUG FULL_URL=$FULL_URL SOAP=$SOAP TRAFFIC=$RET MV_GETPPID_BROKEN=$HASTHREADS
 
 # Make configuration files owned by the interchange user
 chown -R $USER.$GROUP /etc/interchange








More information about the interchange-cvs mailing list