[med-svn] r9008 - trunk/packages/ensembl/ensembl/trunk/debian
Andreas Tille
tille at alioth.debian.org
Fri Dec 16 22:38:08 UTC 2011
Author: tille
Date: 2011-12-16 22:38:07 +0000 (Fri, 16 Dec 2011)
New Revision: 9008
Modified:
trunk/packages/ensembl/ensembl/trunk/debian/changelog
trunk/packages/ensembl/ensembl/trunk/debian/ensembl.config
trunk/packages/ensembl/ensembl/trunk/debian/ensembl.postinst
Log:
Fix debconf initilisation
Modified: trunk/packages/ensembl/ensembl/trunk/debian/changelog
===================================================================
--- trunk/packages/ensembl/ensembl/trunk/debian/changelog 2011-12-16 22:05:25 UTC (rev 9007)
+++ trunk/packages/ensembl/ensembl/trunk/debian/changelog 2011-12-16 22:38:07 UTC (rev 9008)
@@ -47,6 +47,7 @@
- Fix another invalid shebang line ("#! perl")
* debian/patches/fix_usr_bin_env_typo.patch: Fix typo - should be
reported upstream
+ * debian/ensembl.{config,postinst}: Properly initialise debconf
-- Andreas Tille <tille at debian.org> Thu, 15 Dec 2011 19:01:29 +0100
Modified: trunk/packages/ensembl/ensembl/trunk/debian/ensembl.config
===================================================================
--- trunk/packages/ensembl/ensembl/trunk/debian/ensembl.config 2011-12-16 22:05:25 UTC (rev 9007)
+++ trunk/packages/ensembl/ensembl/trunk/debian/ensembl.config 2011-12-16 22:38:07 UTC (rev 9008)
@@ -6,7 +6,9 @@
set -e
# Source debconf library.
+DEBCONF_DEBUG=developer
. /usr/share/debconf/confmodule
+db_version 2.0
cat <<EOENSEMBLDEFAULTS > /etc/default/ensembl
# This file is sourced by Ensembl configuration files
Modified: trunk/packages/ensembl/ensembl/trunk/debian/ensembl.postinst
===================================================================
--- trunk/packages/ensembl/ensembl/trunk/debian/ensembl.postinst 2011-12-16 22:05:25 UTC (rev 9007)
+++ trunk/packages/ensembl/ensembl/trunk/debian/ensembl.postinst 2011-12-16 22:38:07 UTC (rev 9008)
@@ -3,6 +3,10 @@
set -e
+DEBCONF_DEBUG=developer
+. /usr/share/debconf/confmodule
+db_version 2.0
+
case "$1" in
configure|reconfigure)
echo "Preparing a series of directories."
More information about the debian-med-commit
mailing list