[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Koha-cvs] CVS: koha/misc Install.pm,1.64,1.65 koha.upgrade,1.13,1.14
From: |
MJ Ray |
Subject: |
[Koha-cvs] CVS: koha/misc Install.pm,1.64,1.65 koha.upgrade,1.13,1.14 |
Date: |
Wed, 05 Nov 2003 15:31:12 -0800 |
Update of /cvsroot/koha/koha/misc
In directory sc8-pr-cvs1:/tmp/cvs-serv1005
Modified Files:
Install.pm koha.upgrade
Log Message:
z3950 fixes and version display fixes
Index: Install.pm
===================================================================
RCS file: /cvsroot/koha/koha/misc/Install.pm,v
retrieving revision 1.64
retrieving revision 1.65
diff -C2 -r1.64 -r1.65
*** Install.pm 31 Oct 2003 17:58:16 -0000 1.64
--- Install.pm 5 Nov 2003 23:31:10 -0000 1.65
***************
*** 370,373 ****
--- 370,385 ----
}
+ =item getkohaversion
+
+ getkohaversion();
+
+ Gets the Koha version as known by the previous config file.
+
+ =cut
+
+ sub getkohaversion ($) {
+ return($kohaversion);
+ }
+
=item setkohaversion
***************
*** 1582,1586 ****
#MJR: generate our own settings, to remove the /home/paul hardwired
links
open(FILE,">$intranetdir/scripts/z3950daemon/z3950-daemon-options");
! print FILE
"RunAsUser=apache\nKohaZ3950Dir=$intranetdir/scripts/z3950daemon\nKohaModuleDir=$intranetdir/modules\nLogDir=$kohalogdir\nKohaConf=$etcdir/koha.conf";
close(FILE);
--- 1594,1598 ----
#MJR: generate our own settings, to remove the /home/paul hardwired
links
open(FILE,">$intranetdir/scripts/z3950daemon/z3950-daemon-options");
! print FILE
"RunAsUser=$httpduser\nKohaZ3950Dir=$intranetdir/scripts/z3950daemon\nKohaModuleDir=$intranetdir/modules\nLogDir=$kohalogdir\nKohaConf=$etcdir/koha.conf";
close(FILE);
***************
*** 1589,1593 ****
chown(0, (getpwnam($httpduser)) [3],
"$intranetdir/scripts/z3950daemon/z3950-daemon-shell.sh") or warn "can't chown
$intranetdir/scripts/z3950daemon/z3950-daemon-shell.sh: $!";
chown(0, (getpwnam($httpduser)) [3],
"$intranetdir/scripts/z3950daemon/processz3950queue") or warn "can't chown
$intranetdir/scripts/z3950daemon/processz3950queue: $!";
! } #MJR: FIXME: Should report that we haven't chown()d.
showmessage(getmessage('OldFiles'),'PressEnter');
--- 1601,1608 ----
chown(0, (getpwnam($httpduser)) [3],
"$intranetdir/scripts/z3950daemon/z3950-daemon-shell.sh") or warn "can't chown
$intranetdir/scripts/z3950daemon/z3950-daemon-shell.sh: $!";
chown(0, (getpwnam($httpduser)) [3],
"$intranetdir/scripts/z3950daemon/processz3950queue") or warn "can't chown
$intranetdir/scripts/z3950daemon/processz3950queue: $!";
! } #MJR: report that we haven't chown()d.
! else {
! print "Please check permissions in
$intranetdir/scripts/z3950daemon\n";
! }
showmessage(getmessage('OldFiles'),'PressEnter');
Index: koha.upgrade
===================================================================
RCS file: /cvsroot/koha/koha/misc/koha.upgrade,v
retrieving revision 1.13
retrieving revision 1.14
diff -C2 -r1.13 -r1.14
*** koha.upgrade 31 Oct 2003 17:58:16 -0000 1.13
--- koha.upgrade 5 Nov 2003 23:31:10 -0000 1.14
***************
*** 15,19 ****
loadconfigfile();
! ($::kohaversion) || ($::kohaversion='unknown version');
$::newversion=`cat koha.version`;
chomp $::newversion;
--- 15,19 ----
loadconfigfile();
! ($::kohaversion = Install::getkohaversion() ) || ($::kohaversion='unknown
version');
$::newversion=`cat koha.version`;
chomp $::newversion;
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Koha-cvs] CVS: koha/misc Install.pm,1.64,1.65 koha.upgrade,1.13,1.14,
MJ Ray <=
- Prev by Date:
[Koha-cvs] CVS: koha/koha-tmpl/intranet-tmpl/default/en/parameters categorie.tmpl,1.13,1.14
- Next by Date:
[Koha-cvs] CVS: koha/z3950 z3950-daemon-launch.sh,1.3,1.4 z3950-daemon-shell.sh,1.4,1.5
- Previous by thread:
[Koha-cvs] CVS: koha/koha-tmpl/intranet-tmpl/default/en/parameters categorie.tmpl,1.13,1.14
- Next by thread:
[Koha-cvs] CVS: koha/z3950 z3950-daemon-launch.sh,1.3,1.4 z3950-daemon-shell.sh,1.4,1.5
- Index(es):