[Koha-cvs] CVS: koha installer.pl,1.2.2.48,1.2.2.49

Steve Tonnesen tonnesen at users.sourceforge.net
Wed Jul 3 06:45:13 CEST 2002


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

Modified Files:
      Tag: rel-1-2
	installer.pl 
Log Message:
Now asks for the apache username if it can't find the "User" directive in the
config file.


Index: installer.pl
===================================================================
RCS file: /cvsroot/koha/koha/installer.pl,v
retrieving revision 1.2.2.48
retrieving revision 1.2.2.49
diff -C2 -r1.2.2.48 -r1.2.2.49
*** installer.pl	28 Jun 2002 17:04:58 -0000	1.2.2.48
--- installer.pl	3 Jul 2002 04:45:11 -0000	1.2.2.49
***************
*** 309,313 ****
     }
  }
! $httpduser ||= 'Undetermined';
  
  #
--- 309,329 ----
     }
  }
! unless ($httpduser) {
!     print qq|
! 
! I was not able to determine the user that Apache is running as.  This
! information is necessary in order to set the access privileges correctly on
! /etc/koha.conf.  This user should be set in one of the Apache configuration
! files using the "User" directive.
! |;
!     print "What is your Apache user? ";
!     chomp($input = <STDIN>);
! 
!     if ($input) {
! 	$httpduser = $input;
!     } else {
! 	$httpduser='Undetermined';
!     }
! }
  
  #





More information about the Koha-cvs mailing list