[interchange-cvs] interchange - racke modified debian/interchange-cat-foundation.postinst

interchange-cvs at icdevgroup.org interchange-cvs at icdevgroup.org
Sun Jul 6 14:48:00 EDT 2003


User:      racke
Date:      2003-07-06 17:48:50 GMT
Modified:  debian   interchange-cat-foundation.postinst
Log:
use localhost if hostname barfs

Revision  Changes    Path
2.13      +1 -1      interchange/debian/interchange-cat-foundation.postinst


rev 2.13, prev_rev 2.12
Index: interchange-cat-foundation.postinst
===================================================================
RCS file: /var/cvs/interchange/debian/interchange-cat-foundation.postinst,v
retrieving revision 2.12
retrieving revision 2.13
diff -u -r2.12 -r2.13
--- interchange-cat-foundation.postinst	4 Apr 2003 17:00:48 -0000	2.12
+++ interchange-cat-foundation.postinst	6 Jul 2003 17:48:50 -0000	2.13
@@ -76,7 +76,7 @@
     LOCALES=`echo "$RET" | sed -e 's/, /,/'`
 	db_get interchange-cat-foundation/defaultlocale
 	DEFAULTLOCALE=$RET
-	SERVERNAME=`hostname --fqdn`
+	SERVERNAME=`hostname --fqdn 2>/dev/null || echo localhost`
 	MVC_ENABLESECURE=1 MVC_UISECURE=1 MVC_SUPERUSER="$UI_SUPERUSER" MVC_CRYPTPW="$UI_PASSWORD" MVC_LOCALES="$LOCALES" MVC_DEFAULTLOCALE="$DEFAULTLOCALE" /usr/bin/makecat \
 		-F \
 		-l /var/log/interchange/makecat.log \







More information about the interchange-cvs mailing list