[Pkg-mono-svn-commits] rev 3597 - xsp/trunk/debian
Mirco Bauer
meebey at alioth.debian.org
Sun Feb 17 23:30:18 UTC 2008
Author: meebey
Date: 2008-02-17 23:30:18 +0000 (Sun, 17 Feb 2008)
New Revision: 3597
Added:
xsp/trunk/debian/mono-apache-server2.config
Modified:
xsp/trunk/debian/changelog
xsp/trunk/debian/mono-apache-server.config
Log:
- missing debconf config
Modified: xsp/trunk/debian/changelog
===================================================================
--- xsp/trunk/debian/changelog 2008-02-17 23:22:17 UTC (rev 3596)
+++ xsp/trunk/debian/changelog 2008-02-17 23:30:18 UTC (rev 3597)
@@ -21,7 +21,8 @@
* debian/mono-xsp(2).postrm:
+ Remove /etc/xsp2/debian.webapp when being purged.
(Closes: #454378, Closes: #454709)
- * debian/mono-apache-server2.templates:
+ * debian/mono-apache-server2.templates
+ debian/mono-apache-server2.config:
+ Added missing debconf integration for mono-apache-server2.
* debian/*.preinst
debian/*.postinst
Modified: xsp/trunk/debian/mono-apache-server.config
===================================================================
--- xsp/trunk/debian/mono-apache-server.config 2008-02-17 23:22:17 UTC (rev 3596)
+++ xsp/trunk/debian/mono-apache-server.config 2008-02-17 23:30:18 UTC (rev 3597)
@@ -28,8 +28,3 @@
if [ "$STATE" = 0 ]; then
exit 1
fi
-
-
-
-
-
Copied: xsp/trunk/debian/mono-apache-server2.config (from rev 3594, xsp/trunk/debian/mono-apache-server.config)
===================================================================
--- xsp/trunk/debian/mono-apache-server2.config (rev 0)
+++ xsp/trunk/debian/mono-apache-server2.config 2008-02-17 23:30:18 UTC (rev 3597)
@@ -0,0 +1,30 @@
+#!/bin/bash -e
+
+. /usr/share/debconf/confmodule
+db_version 2.0
+db_capb backup
+db_title ModMono Server
+
+STATE=1
+while [ "$STATE" != 0 -a "$STATE" != 2 ]; do
+ case "$STATE" in
+ 1)
+ db_input medium monoserver2/monoserver2_restartapache || true
+ if db_go; then
+ db_get monoserver2/monoserver2_restartapache || true
+ if [ "$RET" = "true" ]; then
+ STATE=2
+ else
+ db_set monoserver2/monoserver2_restartapache false || true
+ STATE=2
+ fi
+ else
+ STATE=0
+ fi
+ ;;
+ esac
+done
+
+if [ "$STATE" = 0 ]; then
+ exit 1
+fi
More information about the Pkg-mono-svn-commits
mailing list