[Pkg-mono-svn-commits] rev 760 - xsp/trunk/debian
Pablo Fischer
pabl0-guest@haydn.debian.org
Thu, 20 May 2004 16:47:20 -0600
Author: pabl0-guest
Date: 2004-05-20 16:47:17 -0600 (Thu, 20 May 2004)
New Revision: 760
Modified:
xsp/trunk/debian/mono-server-update.conf
Log:
Some fixes for the new release
Modified: xsp/trunk/debian/mono-server-update.conf
===================================================================
--- xsp/trunk/debian/mono-server-update.conf 2004-05-20 22:37:37 UTC (rev 759)
+++ xsp/trunk/debian/mono-server-update.conf 2004-05-20 22:47:17 UTC (rev 760)
@@ -22,29 +22,20 @@
$monoserver_dir = "/etc/mono-server";
$monoserver_confd = "$monoserver_dir/conf.d";
$monoserver_hostfile = "$monoserver_dir/mono-server-hosts.conf";
-$daemon = "/etc/init.d/mono-server";
+$daemon = "/etc/init.d/apache";
my $restart = "yes";
my $first_file = "yes";
my ($orig_md5, $new_md5);
-#Check if the user have write access to $monoserver_hostfile
+#Check write access to $monoserver_hostfile
if( ( -e "$monoserver_hostfile" && ! -w "$monoserver_hostfile" ) || ! -w "$monoserver_dir" ) {
print "mono-xsp-update.conf requires write access to $monoserver_hostfile or run it
as root\n" ;
exit 1 ;
}
-#The user doesn't wants to restart the server?
-if($#ARGV eq "0") {
- if($ARGV[0] eq "--norestart") {
- $restart = "no";
- }
-}
-
-
-
#Orig md5
$orig_md5 = &get_md5;
#Read directory..