koha-cvs
[Top][All Lists]
Advanced

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

[Koha-cvs] CVS: koha/misc buildrelease,1.16,1.17


From: Paul POULAIN
Subject: [Koha-cvs] CVS: koha/misc buildrelease,1.16,1.17
Date: Tue, 18 Mar 2003 06:18:52 -0800

Update of /cvsroot/koha/koha/misc
In directory sc8-pr-cvs1:/tmp/cvs-serv17889/misc

Modified Files:
        buildrelease 
Log Message:
/koha-tmpl/ is now the documentroot for opac and intranet pages (remember 
koha-html is deprecated and should be removed very soon)
the index.html shows just 2 links : 1 to intranet.html, the other to opac.html.
during buildrelease, intranet.html is moved to intranet document root and 
renamed to index.html, same thing for opac.html with opac documentroot.
with this trick, you can have a "cvs" install, and a clean "official" install

Index: buildrelease
===================================================================
RCS file: /cvsroot/koha/koha/misc/buildrelease,v
retrieving revision 1.16
retrieving revision 1.17
diff -C2 -r1.16 -r1.17
*** buildrelease        18 Mar 2003 08:54:55 -0000      1.16
--- buildrelease        18 Mar 2003 14:18:50 -0000      1.17
***************
*** 118,122 ****
  }
  
- 
  my $releaseversion='';
  my $currentversion='';
--- 118,121 ----
***************
*** 246,252 ****
  #----------------------------------------------------------
  
- 
- 
- 
  my $rootdir="/tmp/koha-".$releaseversion;
  system("rm -rf $rootdir");
--- 245,248 ----
***************
*** 326,329 ****
--- 322,328 ----
  system('cp', '-a', "$rootdir/intranet-cgi/koha-tmpl/opac-tmpl", 
"$rootdir/opac-html");
  system('cp', '-a', "$rootdir/intranet-cgi/koha-tmpl/intranet-tmpl", 
"$rootdir/intranet-html");
+ #copy index files (they are just redirections to main.pl)
+ system("cp 
$rootdir/intranet-cgi/koha-tmpl/opac.html","$rootdir/opac-html/index.html");
+ system("cp 
$rootdir/intranet-cgi/koha-tmpl/intranet.html","$rootdir/intranet-html/index.html");
  system('rm', '-rf', "$rootdir/intranet-cgi/koha-tmpl");
  




reply via email to

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