[interchange-cvs] interchange - racke modified
debian/interchange.postinst
interchange-cvs at icdevgroup.org
interchange-cvs at icdevgroup.org
Wed Jan 31 06:26:26 EST 2007
User: racke
Date: 2007-01-31 11:26:26 GMT
Modified: debian interchange.postinst
Log:
merged changes 2.21.2.2 vs 2.21.2.4
+++ 2.21.2.3 +++
* require versions of Perl and DBI which allow to run Interchange
without (known) crashes with threaded Perl (Closes: #339335, thanks to
Henrik Holmboe <henrik at holmboe.se>)
* removed notice about threaded Perl and no longer set MV_GETPPID_BROKEN
Revision Changes Path
2.25 +2 -13 interchange/debian/interchange.postinst
rev 2.25, prev_rev 2.24
Index: interchange.postinst
===================================================================
RCS file: /var/cvs/interchange/debian/interchange.postinst,v
retrieving revision 2.24
retrieving revision 2.25
diff -u -r2.24 -r2.25
--- interchange.postinst 25 Dec 2006 18:16:56 -0000 2.24
+++ interchange.postinst 31 Jan 2007 11:26:26 -0000 2.25
@@ -1,6 +1,6 @@
#! /bin/sh
#
-# Copyright 2001,2002,2003,2004,2006 by Stefan Hornburg (Racke) <racke at linuxia.de>
+# Copyright 2001,2002,2003,2004,2006,2007 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
@@ -20,9 +20,6 @@
# Source debconf library
. /usr/share/debconf/confmodule
-# Check for thread enabled Perl
-PERLTHREADS=`perl -MConfig -e 'print $Config{usethreads} || $Config{useithreads} || $Config{use5005threads}'`
-
# Get interchange user and group
db_get interchange/user
USER=$RET
@@ -95,8 +92,6 @@
# 2. Settings which influence the global configuration
# and make senses to be configured by debconf
-# Additionally we place a variable to help Interchange
-# running on installations with threaded Perls.
db_get interchange/full_url
if [ "$RET" = true ]; then
@@ -115,13 +110,7 @@
db_get interchange/traffic
TRAFFIC="$RET"
-if [ "$PERLTHREADS" ]; then
- HASTHREADS=1
-else
- HASTHREADS=0
-fi
-
-/usr/sbin/interchangeconfig FULL_URL=$FULL_URL SOAP=$SOAP TRAFFIC=$RET MV_GETPPID_BROKEN=$HASTHREADS
+/usr/sbin/interchangeconfig FULL_URL=$FULL_URL SOAP=$SOAP TRAFFIC=$RET
# Make configuration files owned by the interchange user
chown -R $USER.$GROUP /etc/interchange
More information about the interchange-cvs
mailing list