[Pkg-mono-svn-commits] rev 533 - xsp-snapshot/trunk/debian/official
Pablo Fischer
pabl0-guest@haydn.debian.org
Fri, 09 Apr 2004 18:07:36 -0600
Author: pabl0-guest
Date: 2004-04-09 18:07:26 -0600 (Fri, 09 Apr 2004)
New Revision: 533
Modified:
xsp-snapshot/trunk/debian/official/mono-server.postinst
Log:
Just a clean up and fix of a bug in a var that was not set
Modified: xsp-snapshot/trunk/debian/official/mono-server.postinst
===================================================================
--- xsp-snapshot/trunk/debian/official/mono-server.postinst 2004-04-10 00:05:23 UTC (rev 532)
+++ xsp-snapshot/trunk/debian/official/mono-server.postinst 2004-04-10 00:07:26 UTC (rev 533)
@@ -11,6 +11,7 @@
DESC="Mono Server, mono-server"
CFGDIR=/etc/$NAME
VIRTUALFILE=$CFGDIR/mono-server-hosts.conf
+virtual_dirs=`mono-server-reader.conf`
activate_monoserver() {
@@ -28,7 +29,7 @@
should_start() {
- if [ -e $DEFAULT ]; then
+ if [ -e $modmono_default ]; then
. $modmono_default
if [ "$start_boot" != "true" ]; then
return 1
@@ -64,12 +65,10 @@
fi
mono-server-update.conf
- if [ "$RET" = "true" ]; then
- if should_start ; then
- echo -n "Starting $DESC: $NAME "
- /etc/init.d/mono-server start > /dev/null 2>&1 || true
- fi
- fi
+ if should_start ; then
+ echo -n "Starting $DESC: $NAME "
+ /etc/init.d/mono-server start > /dev/null 2>&1 || true
+ fi
;;
abort-upgrade|abort-remove|abort-deconfigure)