[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Koha-cvs] CVS: koha koha.upgrade,1.1.2.2,1.1.2.3
From: |
Steve Tonnesen |
Subject: |
[Koha-cvs] CVS: koha koha.upgrade,1.1.2.2,1.1.2.3 |
Date: |
Thu, 27 Jun 2002 15:28:46 -0700 |
Update of /cvsroot/koha/koha
In directory usw-pr-cvs1:/tmp/cvs-serv17081
Modified Files:
Tag: rel-1-2
koha.upgrade
Log Message:
Couple of bug fixes and a notice about possible mods to httpd.conf required.
Index: koha.upgrade
===================================================================
RCS file: /cvsroot/koha/koha/Attic/koha.upgrade,v
retrieving revision 1.1.2.2
retrieving revision 1.1.2.3
diff -C2 -r1.1.2.2 -r1.1.2.3
*** koha.upgrade 27 Jun 2002 20:50:37 -0000 1.1.2.2
--- koha.upgrade 27 Jun 2002 22:28:44 -0000 1.1.2.3
***************
*** 1,7 ****
#!/usr/bin/perl -w
- use C4::Database;
-
- my $dbh=C4Connect();
my %configfile;
--- 1,4 ----
***************
*** 31,35 ****
! my $newversion=`cat kohaversion`;
chomp $newversion;
--- 28,33 ----
! ($kohaversion) || ($kohaversion='unknown version');
! my $newversion=`cat koha.version`;
chomp $newversion;
***************
*** 96,100 ****
my $date= sprintf "%4d-%02d-%02d_%02d:%02d:%02d", $year, $month,
$day,$hr,$min,$sec;
! open (MD, "mysqldump -u$user -p$pass -h$host $database|");
open BF, ">$backupdir/Koha.backup_$date";
--- 94,98 ----
my $date= sprintf "%4d-%02d-%02d_%02d:%02d:%02d", $year, $month,
$day,$hr,$min,$sec;
! open (MD, "mysqldump --user=$user --password=$pass --host=$host $database|");
open BF, ">$backupdir/Koha.backup_$date";
***************
*** 296,297 ****
--- 294,321 ----
system ("perl -I $intranetdir/modules scripts/updater/updatedatabase");
+
+
+ print qq|
+
+ ==========================
+ = Koha Upgrade Completed =
+ ==========================
+ The Koha Upgrade is finished. If you are upgrading from a version of Koha
+ prior to 1.2.1, it is likely that you will have to modify your Apache
+ configuration to point it to the new files.
+
+ In your INTRANET VirtualHost section you should have:
+ DocumentRoot $intranetdir/htdocs
+ ScriptAlias /cgi-bin/koha/ $intranetroot/cgi-bin/
+ SetEnv PERL5LIB $intranetdir/modules
+
+ In the OPAC VirtualHost section you should have:
+ DocumentRoot $opacdir/htdocs
+ ScriptAlias /cgi-bin/koha/ $opacroot/cgi-bin/
+ SetEnv PERL5LIB $intranetdir/modules
+
+ You may also need to uncomment a "LoadModules env_module ... " line and
restart
+ Apache.
+
+ Please report any problems you encounter through http://bugs.koha.org/
+ |;
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Koha-cvs] CVS: koha koha.upgrade,1.1.2.2,1.1.2.3,
Steve Tonnesen <=