koha-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Koha-cvs] CVS: koha installer.pl,1.2.2.18,1.2.2.19


From: Steve Tonnesen
Subject: [Koha-cvs] CVS: koha installer.pl,1.2.2.18,1.2.2.19
Date: Fri, 21 Jun 2002 22:43:56 -0700

Update of /cvsroot/koha/koha
In directory usw-pr-cvs1:/tmp/cvs-serv13907

Modified Files:
      Tag: rel-1-2
        installer.pl 
Log Message:
Check for existence of apache init script before running.


Index: installer.pl
===================================================================
RCS file: /cvsroot/koha/koha/installer.pl,v
retrieving revision 1.2.2.18
retrieving revision 1.2.2.19
diff -C2 -r1.2.2.18 -r1.2.2.19
*** installer.pl        22 Jun 2002 05:38:52 -0000      1.2.2.18
--- installer.pl        22 Jun 2002 05:43:53 -0000      1.2.2.19
***************
*** 482,486 ****
  if ($answer eq "Y" || $answer eq "y") {
        # Need to support other init structures here?
!       system('/etc/rc.d/init.d/httpd restart');
      } else {
      print qq|
--- 482,492 ----
  if ($answer eq "Y" || $answer eq "y") {
        # Need to support other init structures here?
!       if (-e "/etc/rc.d/init.d/httpd") {
!           system('/etc/rc.d/init.d/httpd restart');
!       } elsif (-e "/etc/init.d/apache") {
!           system('/etc//init.d/apache restart');
!       } elsif (-e "/etc/init.d/apache-ssl") {
!           system('/etc/init.d/apache-ssl restart');
!       }
      } else {
      print qq|




reply via email to

[Prev in Thread] Current Thread [Next in Thread]