[Koha-cvs] CVS: koha/misc Install.pm,1.13,1.14
Ambrose Li
acli at users.sourceforge.net
Sat Jan 25 09:07:54 CET 2003
Update of /cvsroot/koha/koha/misc
In directory sc8-pr-cvs1:/tmp/cvs-serv2196/misc
Modified Files:
Install.pm
Log Message:
Added more POD
Index: Install.pm
===================================================================
RCS file: /cvsroot/koha/koha/misc/Install.pm,v
retrieving revision 1.13
retrieving revision 1.14
diff -C2 -r1.13 -r1.14
*** Install.pm 25 Jan 2003 07:50:30 -0000 1.13
--- Install.pm 25 Jan 2003 08:07:52 -0000 1.14
***************
*** 290,293 ****
--- 290,298 ----
checkabortedinstall;
+ Checks whether a previous installation process has been abnormally
+ aborted, by checking whether $::etcidr/koha.conf is a symlink or not.
+ If an aborted installation is detected, gives the user a chance to
+ abort, before trying to recover the aborted installation.
+
Assuming that Koha will be installed on a modern Unix with symlinks,
it is possible to code the installer so that aborted installs can be
***************
*** 436,439 ****
--- 441,445 ----
=item showmessage
+
showmessage($message, 'none');
showmessage($message, 'none', undef, $noclear);
***************
*** 543,546 ****
--- 549,565 ----
}
+
+ =item getinstallationdirectories
+
+ getinstallationdirectories;
+
+ Get the various installation directories from the user, and then
+ create those directories (if they do not already exist).
+
+ These pieces of information are saved to global variables; the
+ function does not return any values.
+
+ =cut
+
sub getinstallationdirectories {
$::opacdir = '/usr/local/koha/opac';
***************
*** 602,605 ****
--- 621,637 ----
+ =item getdatabaseinfo
+
+ getdatabaseinfo;
+
+ Get various pieces of information related to the Koha database:
+ the name of the database, the host on which the SQL server is
+ running, and the database user name.
+
+ These pieces of information are saved to global variables; the
+ function does not return any values.
+
+ =cut
+
$messages->{'DatabaseName'}->{en} = heading('Name of MySQL database') . qq|
Please provide the name of the mysql database for your koha installation.
***************
*** 668,671 ****
--- 700,716 ----
+ =item getapacheinfo
+
+ getapacheinfo;
+
+ Get various pieces of information related to the Apache server:
+ the location of the configuration file and, if needed, the Unix
+ user that the Koha CGI will be run under.
+
+ These pieces of information are saved to global variables; the
+ function does not return any values.
+
+ =cut
+
$messages->{'FoundMultipleApacheConfFiles'}->{en} =
heading('MULTIPLE APACHE CONFIG FILES') . qq|
***************
*** 1387,1390 ****
--- 1432,1441 ----
=back
+
+ =head1 BUGS
+
+ A lot of variables like $::opacdir. Because Perl does not check
+ for strictness when a package name is explicitly specified,
+ using such variables defeats the purpose of "use strict".
=head1 SEE ALSO
More information about the Koha-cvs
mailing list