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

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


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

Modified:
   xsp-snapshot/trunk/debian/asp.net-examples-snapshot.prerm
Log:
Changed the sed instruction


Modified: xsp-snapshot/trunk/debian/asp.net-examples-snapshot.prerm
===================================================================
--- xsp-snapshot/trunk/debian/asp.net-examples-snapshot.prerm	2004-02-17 04:51:13 UTC (rev 261)
+++ xsp-snapshot/trunk/debian/asp.net-examples-snapshot.prerm	2004-02-17 04:51:45 UTC (rev 262)
@@ -1,15 +1,15 @@
 #!/bin/sh -e
 
-if [ -f /etc/xsp/virtual.conf ]; then
+if [ -f /etc/xsp-snapshot/virtual.conf ]; then
     tempfile=`/bin/tempfile`
-    sed "s/\/usr\/share\/asp.net-demos\/asp//" /etc/xsp/virtual.conf > $tempfile
-    cp $tempfile /etc/xsp/virtual.conf
-    rm -f /etc/xsp/virtual.conf
+    sed s/\\/samples:\\/usr\\/share\\/asp.net-demos\\/asp\// /etc/xsp-snapshot/virtual.conf > $tempfile
+    cp $tempfile /etc/xsp-snapshot/virtual.conf
+    rm -f /etc/xsp-snapshot/virtual.conf
 fi
 
-if [ -f /etc/mono-server/virtual.conf ]; then
+if [ -f /etc/mono-server-snapshot/virtual.conf ]; then
     tempfile=`/bin/tempfile`
-    sed "s/\/usr\/share\/asp.net-demos\/asp//" /etc/mono-server/virtual.conf > $tempfile
-    cp $tempfile /etc/mono-server/virtual.conf
-    rm -f /etc/mono-server/virtual.conf
+    sed s/\\/samples:\\/usr\\/share\\/asp.net-demos\\/asp\// /etc/xsp-snapshot/virtual.conf > $tempfile
+    cp $tempfile /etc/mono-server-snapshot/virtual.conf
+    rm -f /etc/mono-server-snapshot/virtual.conf
 fi