[Koha-devel] 1.2.3RC26 Install.pm

Bobby Billingsley bobby at bofh.dk
Wed Jan 15 15:53:02 CET 2003


Hi people ...

I've just had a go at upgrading from 1.2.2 to 1.2.3rc26 and ran into a snag w.
the "koha.upgrade" - the code to figure out where mysqladmin lives doesn't seem to check enough locations.

Adding /usr/local to the list helped (on my FreeBSD installation). I guess the
same goes for the "Install.pm" script, so her are a couple of patches for
your perusal :-)

/bobby

-- -- -- -- -- -- -- Bobby Billingsley, General Specialist -- -- -- -- -- -- --
 ___    .--.- \   |                                 |                        _ 
`-,_`--'__/ x./_  | Remember to love while you dare | ASCII ribbon campaign ( )
//-_`--/    //\ \ | remember to live while you do   |  - against HTML email  X 
 \__/  `---' \__/ |                   -- Piet Hein  |              & vcards / \
                 Lat: 55° 40' 52" N Lon: 12° 32' 56" E 
     Anyone without a sense of humor is at the mercy of the rest of us :->
-------------- next part --------------
*** Install.pm	Wed Jan 15 23:57:51 2003
--- Install.pm.new	Thu Jan 16 00:45:58 2003
***************
*** 1131,1136 ****
--- 1131,1137 ----
  
      foreach my $mysql (qw(/usr/local/mysql
  			  /opt/mysql
+ 			  /usr/local
  			  /usr
  			  )) {
         if ( -d $mysql  && -f "$mysql/bin/mysqladmin") {
-------------- next part --------------
*** koha.upgrade	Wed Oct 30 07:40:15 2002
--- koha.upgrade.new	Thu Jan 16 00:48:30 2003
***************
*** 92,97 ****
--- 92,98 ----
  
  foreach my $mysql (qw(/usr/local/mysql
                        /opt/mysql
+ 		      /usr/local
  		    )) {
      if ( -d $mysql ) {
  	    $mysqldir=$mysql;


More information about the Koha-devel mailing list