[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Koha-cvs] CVS: koha installer.pl,1.3,1.4
From: |
Steve Tonnesen |
Subject: |
[Koha-cvs] CVS: koha installer.pl,1.3,1.4 |
Date: |
Tue, 02 Jul 2002 13:59:13 -0700 |
Update of /cvsroot/koha/koha
In directory usw-pr-cvs1:/tmp/cvs-serv20094
Modified Files:
installer.pl
Log Message:
Merged over from rel-1-2
Index: installer.pl
===================================================================
RCS file: /cvsroot/koha/koha/installer.pl,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -r1.3 -r1.4
*** installer.pl 24 Jun 2002 13:19:40 -0000 1.3
--- installer.pl 2 Jul 2002 20:59:11 -0000 1.4
***************
*** 1,107 ****
#!/usr/bin/perl -w # please develop with -w
use strict; # please develop with the strict pragma
! print <<EOM;
**********************************
* Welcome to the Koha Installer *
**********************************
[...987 lines suppressed...]
!
! my $restart = <STDIN>;
! chomp $restart;
!
! if ($restart=~/^y/i) {
! # 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|
! Congratulations ... your Koha installation is complete!
! You will need to restart your webserver before using Koha!
! |;
! exit;
! };
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Koha-cvs] CVS: koha installer.pl,1.3,1.4,
Steve Tonnesen <=