[Dbconfig-common-devel] dbconfig-common/dpkg postinst,1.6,1.7
seanius@haydn.debian.org
seanius@haydn.debian.org
Update of /cvsroot/dbconfig-common/dbconfig-common/dpkg
In directory haydn:/org/alioth.debian.org/chroot/home/users/seanius/tmp/cvs-serv13858/dpkg
Modified Files:
postinst
Log Message:
documentation update, and a feature enhancement. 1.5 done.
Index: postinst
===================================================================
RCS file: /cvsroot/dbconfig-common/dbconfig-common/dpkg/postinst,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -d -r1.6 -r1.7
--- postinst 4 Mar 2005 06:50:19 -0000 1.6
+++ postinst 17 Mar 2005 05:18:41 -0000 1.7
@@ -47,9 +47,12 @@
###
if [ "$dbc_install" != "true" ]; then exit 0; fi
- # export this if it exists, for the install/upgrade scripts
+ # export the config file if it exists, for the scripts
if [ "$dbc_generate_include" ]; then
+ # strip the leading format string for convenience
+ dbc_config_include=`echo "$dbc_generate_include" | sed -e 's/^[^:]*://'`
export dbc_generate_include
+ export dbc_config_include
fi
###