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

Pablo Fischer pabl0-guest@quantz.debian.org
Tue, 17 Feb 2004 05:51:14 +0100


Author: pabl0-guest
Date: 2004-02-17 05:51:13 +0100 (Tue, 17 Feb 2004)
New Revision: 261

Modified:
   xsp-snapshot/trunk/debian/asp.net-examples-snapshot.postinst
Log:
Added to many important things Changed the virtual directory, the xsp config file (for snapshot version)


Modified: xsp-snapshot/trunk/debian/asp.net-examples-snapshot.postinst
===================================================================
--- xsp-snapshot/trunk/debian/asp.net-examples-snapshot.postinst	2004-02-17 04:48:53 UTC (rev 260)
+++ xsp-snapshot/trunk/debian/asp.net-examples-snapshot.postinst	2004-02-17 04:51:13 UTC (rev 261)
@@ -1,11 +1,11 @@
 #!/bin/sh -e
 
-if [ -x /usr/bin/xsp.exe && -d /etc/xsp ]; then
+if [ -x /usr/bin/xsp.exe -a -d /etc/xsp-snapshot ]; then
     echo "Updating Root Servers..."
-    echo "/usr/share/asp.net-demos/asp" >> /etc/xsp/virtual.conf
+    echo "/samples:/usr/share/asp.net-demos/asp" >> /etc/xsp-snapshot/virtual.conf
 fi
 
-if [ -x /usr/bin/mod-mono-server.exe && -d /etc/mono-server ]; then
+if [ -x /usr/bin/mod-mono-server.exe -a -d /etc/mono-server-snapshot ]; then
     echo "Updating Root Servers..."
-    echo "/usr/share/asp.net-demos/asp" >> /etc/mono-server/virtual.conf
+    echo "/samples:/usr/share/asp.net-demos/asp" >> /etc/mono-server-snapshot/virtual.conf
 fi