koha-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Koha-cvs] CVS: koha/misc Install.pm,1.77,1.78


From: Paul POULAIN
Subject: [Koha-cvs] CVS: koha/misc Install.pm,1.77,1.78
Date: Tue, 02 Nov 2004 10:03:31 -0800

Update of /cvsroot/koha/koha/misc
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv26353/misc

Modified Files:
        Install.pm 
Log Message:
testing PDF::API2 and removing mandatory test of Net::LDAP

Index: Install.pm
===================================================================
RCS file: /cvsroot/koha/koha/misc/Install.pm,v
retrieving revision 1.77
retrieving revision 1.78
diff -C2 -r1.77 -r1.78
*** Install.pm  15 Jul 2004 09:51:26 -0000      1.77
--- Install.pm  2 Nov 2004 18:03:15 -0000       1.78
***************
*** 272,304 ****
  Congratulations ... your 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 %s/htdocs
-   ScriptAlias /cgi-bin/koha/ %s/cgi-bin/
-   SetEnv PERL5LIB %s/modules
- 
- In the OPAC VirtualHost section you should have:
-   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.
- If you're upgrading from 1.2.x version of Koha note that the MARC DB is NOT 
populated.
- To populate it :
- * launch Koha
- * Go to Parameters >> Marc structure option and Koha-MARC links option.
- * Modify default MARC structure to fit your needs.
- * open a console
- * type:
- cd /path/to/koha/misc
- export PERL5LIB=/path/to/koha
- ./koha2marc.pl
- the old DB is "copied" in the new MARC one.
- Koha 2.0.0 is ready :-)
- 
  Please report any problems you encounter through http://bugs.koha.org/
  
--- 272,275 ----
***************
*** 859,867 ****
        unless (eval {require DBD::mysql})       { push @missing,"DBD::mysql" };
        unless (eval {require HTML::Template})   { push 
@missing,"HTML::Template" };
- #    unless (eval {require Set::Scalar})      { push @missing,"Set::Scalar" };
        unless (eval {require Digest::MD5})      { push @missing,"Digest::MD5" 
};
        unless (eval {require MARC::Record})     { push @missing,"MARC::Record" 
};
        unless (eval {require Mail::Sendmail})   { push 
@missing,"Mail::Sendmail" };
!       unless (eval {require Net::LDAP})   { push @missing,"Net::LDAP" };
        unless (eval {require Event})       {
                if ($#missing>=0) { # only when $#missing >= 0 so this isn't 
fatal
--- 830,843 ----
        unless (eval {require DBD::mysql})       { push @missing,"DBD::mysql" };
        unless (eval {require HTML::Template})   { push 
@missing,"HTML::Template" };
        unless (eval {require Digest::MD5})      { push @missing,"Digest::MD5" 
};
        unless (eval {require MARC::Record})     { push @missing,"MARC::Record" 
};
        unless (eval {require Mail::Sendmail})   { push 
@missing,"Mail::Sendmail" };
!       unless (eval {require PDF::API2})   { push @missing,"PDF::API2" };
! # The following modules are not mandatory, depends on how the library want to 
use Koha
!       unless (eval {require Net::LDAP})       {
!               if ($#missing>=0) { # only when $#missing >= 0 so this isn't 
fatal
!                               push @missing, "Net::LDAP";
!                       }
!     }
        unless (eval {require Event})       {
                if ($#missing>=0) { # only when $#missing >= 0 so this isn't 
fatal
***************
*** 1835,1838 ****
--- 1811,1816 ----
  such as DANMARC.  We would like to hear from you if you do.
  
+ UPDATE : If you UPDATE your version from a previous 2.x.x, the right choice 
here is N (None) to preserve your local MARC setup.
+ 
  Choose MARC definition [1]: |;
  
***************
*** 2101,2105 ****
  #FIXME: rewrite to use Install.pm
  sub backupkoha {
! my $backupdir=$ENV{'prefix'}.'/backups';
  
  my $answer = 
showmessage(getmessage('BackupDir',[$backupdir]),'free',$backupdir);
--- 2079,2084 ----
  #FIXME: rewrite to use Install.pm
  sub backupkoha {
! if (!$ENV{prefix}) { $ENV{prefix} = "/usr/local"; }
! my $backupdir=$ENV{prefix}.'/backups';
  
  my $answer = 
showmessage(getmessage('BackupDir',[$backupdir]),'free',$backupdir);




reply via email to

[Prev in Thread] Current Thread [Next in Thread]