[interchange-cvs] interchange - racke modified debian/interchange-cat-foundation.postinst
interchange-core@interchange.redhat.com
interchange-core@interchange.redhat.com
Thu Jan 31 10:41:05 2002
User: racke
Date: 2002-01-31 15:40:07 GMT
Modified: debian interchange-cat-foundation.postinst
Log:
merged changes 2.7.2.1 vs 2.7.2.2
+++ 2.7.2.2 +++
query username and password for UI superuser account in the foundation
catalog from the user via debconf
Revision Changes Path
2.9 +5 -1 interchange/debian/interchange-cat-foundation.postinst
rev 2.9, prev_rev 2.8
Index: interchange-cat-foundation.postinst
===================================================================
RCS file: /anon_cvs/repository/interchange/debian/interchange-cat-foundation.postinst,v
retrieving revision 2.8
retrieving revision 2.9
diff -u -r2.8 -r2.9
--- interchange-cat-foundation.postinst 24 Aug 2001 00:46:58 -0000 2.8
+++ interchange-cat-foundation.postinst 31 Jan 2002 15:40:07 -0000 2.9
@@ -68,8 +68,12 @@
# replace catalog directory
mkdir /var/lib/interchange/catalogs/$CATALOG
chown $USER.$GROUP /var/lib/interchange/catalogs/$CATALOG
+ db_get interchange-cat-foundation/username
+ UI_SUPERUSER=$RET
+ db_get interchange-cat-foundation/password
+ UI_PASSWORD=$RET
SERVERNAME=`hostname --fqdn`
- MVC_ENABLESECURE=1 MVC_UISECURE=1 /usr/bin/makecat \
+ MVC_ENABLESECURE=1 MVC_UISECURE=1 MVC_SUPERUSER="$UI_SUPERUSER" MVC_CRYPTPW="$UI_PASSWORD" /usr/bin/makecat \
-F \
-l /var/log/interchange/makecat.log \
--demotype=$CATALOG \