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

Pablo Fischer pabl0-guest@haydn.debian.org
Sun, 11 Apr 2004 11:56:24 -0600


Author: pabl0-guest
Date: 2004-04-11 11:56:22 -0600 (Sun, 11 Apr 2004)
New Revision: 557

Modified:
   xsp-snapshot/trunk/debian/official/asp.net-examples.postinst
   xsp-snapshot/trunk/debian/official/asp.net-examples.postrm
Log:
Updated, now we just update the config files cause we are using 
dh_installxsp (That rocks!)



Modified: xsp-snapshot/trunk/debian/official/asp.net-examples.postinst
===================================================================
--- xsp-snapshot/trunk/debian/official/asp.net-examples.postinst	2004-04-11 17:53:12 UTC (rev 556)
+++ xsp-snapshot/trunk/debian/official/asp.net-examples.postinst	2004-04-11 17:56:22 UTC (rev 557)
@@ -1,21 +1,11 @@
 #!/bin/sh -e
 
-update() {
-   daemon="$1"
-   cfg_dir="$2"   
-   which mono-$daemon-update.conf || return 0
-   if [ -d "/etc/$cfg_dir" ]; then
-       #Update..
-       mono-$daemon-update.conf || true
-   fi
-}
-    
-
 case "$1" in
     configure)
-	update xsp xsp
-	update server mono-server
+	mono-xsp-update.conf || true
+	mono-server-update.conf || true
 	;;
+
 esac
 
 #DEBHELPER#

Modified: xsp-snapshot/trunk/debian/official/asp.net-examples.postrm
===================================================================
--- xsp-snapshot/trunk/debian/official/asp.net-examples.postrm	2004-04-11 17:53:12 UTC (rev 556)
+++ xsp-snapshot/trunk/debian/official/asp.net-examples.postrm	2004-04-11 17:56:22 UTC (rev 557)
@@ -1,20 +1,9 @@
 #!/bin/sh -e
 
-update() {
-   daemon="$1"
-   cfg_dir="$2"   
-   which mono-$daemon-update.conf || return 0
-   if [ -d "/etc/$cfg_dir" ]; then
-       #Update..
-       mono-$daemon-update.conf || true
-   fi
-}
-    
-
 case "$1" in
     purge|remove)
-	update xsp xsp
-	update server mono-server
+	mono-xsp-update.conf || true
+	mono-server-update.conf || true
 	;;
     
 esac