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

Pablo Fischer pabl0-guest@haydn.debian.org
Sat, 10 Apr 2004 15:23:10 -0600


Author: pabl0-guest
Date: 2004-04-10 15:23:07 -0600 (Sat, 10 Apr 2004)
New Revision: 548

Modified:
   xsp-snapshot/trunk/debian/official/asp.net-examples.postinst
   xsp-snapshot/trunk/debian/official/asp.net-examples.postrm
Log:
We don't create the asp.net host file, cause we create it in 
asp.net-examples.install



Modified: xsp-snapshot/trunk/debian/official/asp.net-examples.postinst
===================================================================
--- xsp-snapshot/trunk/debian/official/asp.net-examples.postinst	2004-04-10 21:22:02 UTC (rev 547)
+++ xsp-snapshot/trunk/debian/official/asp.net-examples.postinst	2004-04-10 21:23:07 UTC (rev 548)
@@ -1,23 +1,10 @@
 #!/bin/sh -e
 
-package="aspnet-examples"
-
-make_config_host() {
-    echo "# This is the configuration file"
-    echo "# for the $package virtualhost"
-    echo "path = /usr/share/asp.net-demos/asp"
-    echo "alias = /samples"
-}
-
 update() {
    daemon="$1"
    cfg_dir="$2"   
    which mono-$daemon-update.conf || return 0
    if [ -d "/etc/$cfg_dir" ]; then
-       #Create the config host dir
-       mkdir -p "/etc/$cfg_dir/conf.d/$package"
-       #Add the file
-       make_config_host > "/etc/$cfg_dir/conf.d/$package/10_$package"
        #Update..
        mono-$daemon-update.conf || true
    fi
@@ -29,11 +16,6 @@
 	update xsp xsp
 	update server mono-server
 	;;
-    
-    abort-upgrade|abort-remove|abort-deconfigure)
-        #Do nothing..
-    ;;
-
     *)
 	;;
 esac

Modified: xsp-snapshot/trunk/debian/official/asp.net-examples.postrm
===================================================================
--- xsp-snapshot/trunk/debian/official/asp.net-examples.postrm	2004-04-10 21:22:02 UTC (rev 547)
+++ xsp-snapshot/trunk/debian/official/asp.net-examples.postrm	2004-04-10 21:23:07 UTC (rev 548)
@@ -1,14 +1,10 @@
 #!/bin/sh -e
 
-package="aspnet-examples"
-
 update() {
    daemon="$1"
    cfg_dir="$2"   
    which mono-$daemon-update.conf || return 0
    if [ -d "/etc/$cfg_dir" ]; then
-       #Remove the config host dir
-       rm -Rf "/etc/$cfg_dir/conf.d/$package"
        #Update..
        mono-$daemon-update.conf || true
    fi