&getmessage
&showmessage
&releasecandidatewarning
+ &setkohaversion
&getinstallationdirectories
&getdatabaseinfo
&getapacheinfo
Press <ENTER> to exit the installer: |;
-$messages->{'UpgradeCompleted'}->{en} = heading('UPGRDE COMPLETE') . qq|
+$messages->{'UpgradeCompleted'}->{en} = heading('UPGRADE COMPLETE') . qq|
Congratulations ... your Koha upgrade is finished!
If you are upgrading from a version of Koha
configuration to point it to the new files.
In your INTRANET VirtualHost section you should have:
- DocumentRoot $::intranetdir/htdocs
- ScriptAlias /cgi-bin/koha/ $::intranetdir/cgi-bin/
- SetEnv PERL5LIB $::intranetdir/modules
+ DocumentRoot %s/htdocs
+ ScriptAlias /cgi-bin/koha/ %s/cgi-bin/
+ SetEnv PERL5LIB %s/modules
In the OPAC VirtualHost section you should have:
- DocumentRoot $::opacdir/htdocs
- ScriptAlias /cgi-bin/koha/ $::opacdir/cgi-bin/
- SetEnv PERL5LIB $::intranetdir/modules
+ DocumentRoot %s/htdocs
+ ScriptAlias /cgi-bin/koha/ %s/cgi-bin/
+ SetEnv PERL5LIB %s/modules
You may also need to uncomment a "LoadModules env_module ... " line and restart
Apache.
Does this look right? ([Y]/N):
|;
- $answer = <STDIN>;
+ my $answer = <STDIN>;
chomp $answer;
if ($answer =~/n/i) {
while (!$intranetdir) {
print "Please specify the location of your LIBRARIAN files: ";
- $answer = <STDIN>;
+ my $answer = <STDIN>;
chomp $answer;
if ($answer) {
while (!$opacdir) {
print "Please specify the location of your OPAC files: ";
- $answer = <STDIN>;
+ my $answer = <STDIN>;
chomp $answer;
if ($answer) {
sub backupkoha {
my $backupdir=$ENV{'prefix'}.'/backups';
-$answer = showmessage(getmessage('BackupDir',[$backupdir]),'free',$backupdir);
+my $answer = showmessage(getmessage('BackupDir',[$backupdir]),'free',$backupdir);
if (! -e $backupdir) {
my $result=mkdir ($backupdir, oct(770));
}
#FIXME: need kohaversion number
-showmessage(getmessage('WelcomeToUpgrader',[$::kohaversion,$::newversion]),'yn');
+my $answer = showmessage(getmessage('WelcomeToUpgrader',[$::kohaversion,$::newversion]),'yn');
unless ($answer =~/y/i) {
- showmessage(getmessage('AbortingInstall'),'PressEnter');
+ showmessage(getmessage('AbortingInstall'),'none');
exit;
} else {
print "Great! continuing upgrade... \n";
updatedatabase();
finalizeconfigfile();
-showmessage(getmessage('UpgradeCompleted'),'PressEnter');
+showmessage(getmessage('UpgradeCompleted',['FIXME','FIXME','FIXME','FIXME','FIXME','FIXME']),'PressEnter');
my $reply=showmessage('Would you like to complete a survey about your library?', 'yn', 'y');
if ($reply=~/y/i) {