[Koha-cvs] CVS: koha/misc buildrelease,1.16,1.17
Paul POULAIN
tipaul at users.sourceforge.net
Tue Mar 18 15:18:52 CET 2003
- Previous message: [Koha-cvs] CVS: koha/koha-tmpl intranet.html,NONE,1.1 opac.html,NONE,1.1 index.html,1.1,1.2
- Next message: [Koha-cvs] CVS: koha/koha-tmpl/intranet-tmpl/default/en/parameters admin-home.tmpl,1.12,1.13 aqbookfund.tmpl,1.9,1.10 aqbudget.tmpl,1.6,1.7 authorised_values.tmpl,1.6,1.7 branches.tmpl,1.12,1.13 checkmarc.tmpl,1.3,1.4 koha2marclinks.tmpl,1.6,1.7 marc_subfields_structure.tmpl,1.16,1.17 marctagstructure.tmpl,1.7,1.8 systempreferences.tmpl,1.7,1.8 thesaurus.tmpl,1.8,1.9
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
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");
- Previous message: [Koha-cvs] CVS: koha/koha-tmpl intranet.html,NONE,1.1 opac.html,NONE,1.1 index.html,1.1,1.2
- Next message: [Koha-cvs] CVS: koha/koha-tmpl/intranet-tmpl/default/en/parameters admin-home.tmpl,1.12,1.13 aqbookfund.tmpl,1.9,1.10 aqbudget.tmpl,1.6,1.7 authorised_values.tmpl,1.6,1.7 branches.tmpl,1.12,1.13 checkmarc.tmpl,1.3,1.4 koha2marclinks.tmpl,1.6,1.7 marc_subfields_structure.tmpl,1.16,1.17 marctagstructure.tmpl,1.7,1.8 systempreferences.tmpl,1.7,1.8 thesaurus.tmpl,1.8,1.9
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the Koha-cvs
mailing list