[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Koha-cvs] CVS: koha/misc Install.pm,1.44,1.45
From: |
MJ Ray |
Subject: |
[Koha-cvs] CVS: koha/misc Install.pm,1.44,1.45 |
Date: |
Tue, 08 Jul 2003 18:21:25 -0700 |
Update of /cvsroot/koha/koha/misc
In directory sc8-pr-cvs1:/tmp/cvs-serv32086
Modified Files:
Install.pm
Log Message:
making sure that scripts are covered by 490 fix
Index: Install.pm
===================================================================
RCS file: /cvsroot/koha/koha/misc/Install.pm,v
retrieving revision 1.44
retrieving revision 1.45
diff -C2 -r1.44 -r1.45
*** Install.pm 9 Jul 2003 00:16:22 -0000 1.44
--- Install.pm 9 Jul 2003 01:21:23 -0000 1.45
***************
*** 1579,1582 ****
--- 1579,1583 ----
# At this point, $etcdir/koha.conf must exist, for C4::Context
$ENV{"KOHA_CONF"}=$etcdir.'/koha.conf.tmp';
+ startsysout();
my $result=system ("perl -I $intranetdir/modules
scripts/updater/updatedatabase");
if ($result) {
***************
*** 1663,1669 ****
--- 1664,1672 ----
$printerqueue=showmessage(getmessage('PrinterQueue',
[$printerqueue]), 'free', $printerqueue, 1);
$printerqueue=~s/[^A-Za-z0-9]//g;
+ startsysout();
system("$mysqldir/bin/mysql -u$user $dbname -e \"insert into
printers (printername,printqueue,printtype) values ('$printername',
'$printerqueue', '')\"");
# }
my $language=showmessage(getmessage('Language'), 'free', 'en');
+ startsysout();
system("$mysqldir/bin/mysql -u$user $dbname -e \"update
systempreferences set value='$language' where variable='opaclanguages'\"");
}
***************
*** 1702,1706 ****
system('su root -c /etc/rc.d/init.d/httpd restart');
} elsif (-e "/etc/init.d/apache") {
! system('su root -c /etc//init.d/apache restart');
} elsif (-e "/etc/init.d/apache-ssl") {
system('su root -c /etc/init.d/apache-ssl restart');
--- 1705,1709 ----
system('su root -c /etc/rc.d/init.d/httpd restart');
} elsif (-e "/etc/init.d/apache") {
! system('su root -c /etc/init.d/apache restart');
} elsif (-e "/etc/init.d/apache-ssl") {
system('su root -c /etc/init.d/apache-ssl restart');
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Koha-cvs] CVS: koha/misc Install.pm,1.44,1.45,
MJ Ray <=
- Prev by Date:
[Koha-cvs] CVS: koha/misc Install.pm,1.43,1.44 installer.pl,1.14,1.15
- Next by Date:
[Koha-cvs] CVS: koha/misc koha.mysql,1.3,1.4
- Previous by thread:
[Koha-cvs] CVS: koha/misc Install.pm,1.43,1.44 installer.pl,1.14,1.15
- Next by thread:
[Koha-cvs] CVS: koha/misc koha.mysql,1.3,1.4
- Index(es):