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

Pablo Fischer pabl0-guest@haydn.debian.org
Fri, 09 Apr 2004 18:04:34 -0600


Author: pabl0-guest
Date: 2004-04-09 18:04:24 -0600 (Fri, 09 Apr 2004)
New Revision: 531

Modified:
   xsp-snapshot/trunk/debian/official/asp.net-examples.postinst
   xsp-snapshot/trunk/debian/official/asp.net-examples.prerm
Log:
Fixed, a /dev/null issue :) and the path of mono-xsp-update.conf



Modified: xsp-snapshot/trunk/debian/official/asp.net-examples.postinst
===================================================================
--- xsp-snapshot/trunk/debian/official/asp.net-examples.postinst	2004-04-09 23:21:43 UTC (rev 530)
+++ xsp-snapshot/trunk/debian/official/asp.net-examples.postinst	2004-04-10 00:04:24 UTC (rev 531)
@@ -82,13 +82,13 @@
 
 case "$1" in
     configure)
-	if [ -x "`which mono-xsp-update.conf`" 2>/dev/null -a -d /etc/xsp ]; then
+	if [ -x "`which mono-xsp-update.conf`" > /dev/null 2>&1 -a -d /etc/xsp ]; then
 	    mkdir -p $aspnet_xspconfd
 	    make_conffile > "$aspnet_xspconffile"		
 	    mono-xsp-update.conf
 	    restart_xsp
 	fi
-	if [ -x "`which /usr/share/dotnet/bin/mod-mono-server.exe`" 2>/dev/null -a -d /etc/mono-server ]; then
+	if [ -x "`which mono-server-update.conf`" > /dev/null 2>&1 -a -d /etc/mono-server ]; then
 	    mkdir -p $aspnet_monoserverconfd
 	    make_conffile > "$aspnet_monoserverconffile"		
 	    mono-server-update.conf

Modified: xsp-snapshot/trunk/debian/official/asp.net-examples.prerm
===================================================================
--- xsp-snapshot/trunk/debian/official/asp.net-examples.prerm	2004-04-09 23:21:43 UTC (rev 530)
+++ xsp-snapshot/trunk/debian/official/asp.net-examples.prerm	2004-04-10 00:04:24 UTC (rev 531)
@@ -49,7 +49,8 @@
 	    mono-xsp-update.conf
 	    restart_xsp
 	fi
-	if [ -x "`which /usr/share/dotnet/bin/mod-mono-server.exe`" 2>/dev/null -a -d /etc/mono-server ]; then
+
+	if [ -x "`which mono-server-update.conf`" > /dev/null 2>&1 -a -d /etc/mono-server ]; then
 	    rm -Rf $aspnet_monoserverconfd
 	    mono-server-update.conf
 	    restart_monoserver