[Pkg-mono-svn-commits] rev 290 - xsp-snapshot/trunk/debian/official

Pablo Fischer pabl0-guest@quantz.debian.org
Wed, 18 Feb 2004 04:55:54 +0100


Author: pabl0-guest
Date: 2004-02-18 04:55:53 +0100 (Wed, 18 Feb 2004)
New Revision: 290

Modified:
   xsp-snapshot/trunk/debian/official/mono-server.config
   xsp-snapshot/trunk/debian/official/mono-server.postinst
Log:
Fixed the Debconf, now we are using a different debconf for snapshot and official version


Modified: xsp-snapshot/trunk/debian/official/mono-server.config
===================================================================
--- xsp-snapshot/trunk/debian/official/mono-server.config	2004-02-18 03:54:09 UTC (rev 289)
+++ xsp-snapshot/trunk/debian/official/mono-server.config	2004-02-18 03:55:53 UTC (rev 290)
@@ -9,13 +9,13 @@
 while [ "$STATE"  != 0 -a "$STATE" != 2 ]; do
     case "$STATE" in
 	1) 
-	    db_input medium monoserver_snapshot/monoserver_autostart || true
+	    db_input medium monoserver/monoserver_autostart || true
 	    if db_go; then
-		db_get monoserver_snapshot/monoserver_autostart || true
+		db_get monoserver/monoserver_autostart || true
 		if [ "$RET" = "true" ]; then
 		    STATE=2
 		else
-		    db_set  monoserver_snapshot/monoserver_autostart false || true
+		    db_set  monoserver/monoserver_autostart false || true
 		    STATE=2
 		fi
 	    else

Modified: xsp-snapshot/trunk/debian/official/mono-server.postinst
===================================================================
--- xsp-snapshot/trunk/debian/official/mono-server.postinst	2004-02-18 03:54:09 UTC (rev 289)
+++ xsp-snapshot/trunk/debian/official/mono-server.postinst	2004-02-18 03:55:53 UTC (rev 290)
@@ -6,7 +6,7 @@
 db_version 2.0
 
 tempfile=`/bin/tempfile`
-modmono_default="/etc/default/mono-server-snapshot"
+modmono_default="/etc/default/mono-server"
 
 activate_monoserver() {
     sed s/start_boot=false/start_boot=true/g $modmono_default > $tempfile
@@ -22,7 +22,7 @@
 
 case "$1" in
     configure)
-	db_get monoserver_snapshot/monoserver_autostart || true
+	db_get monoserver/monoserver_autostart || true
 	if [ "$RET" = "true" ]; then
 	    activate_monoserver
 	else