diff --git a/koha-tmpl/index.html b/koha-tmpl/index.html index d2f098a55f..5194d5b5a8 100644 --- a/koha-tmpl/index.html +++ b/koha-tmpl/index.html @@ -1,12 +1,6 @@ - - - - - - -
- -
+ +Intranet +OPAC - + \ No newline at end of file diff --git a/koha-tmpl/intranet.html b/koha-tmpl/intranet.html new file mode 100644 index 0000000000..d2f098a55f --- /dev/null +++ b/koha-tmpl/intranet.html @@ -0,0 +1,12 @@ + + + + + + + +
+ +
+ + diff --git a/koha-tmpl/opac.html b/koha-tmpl/opac.html new file mode 100644 index 0000000000..8de851715d --- /dev/null +++ b/koha-tmpl/opac.html @@ -0,0 +1,12 @@ + + + + + + + +
+ +
+ + diff --git a/misc/buildrelease b/misc/buildrelease index 6d432e9899..61c1b667fb 100644 --- a/misc/buildrelease +++ b/misc/buildrelease @@ -117,7 +117,6 @@ while () { } } - my $releaseversion=''; my $currentversion=''; @@ -245,9 +244,6 @@ Tagging koha with tag R_$tagname # MOVE files to /tmp and build tar.gz #---------------------------------------------------------- - - - my $rootdir="/tmp/koha-".$releaseversion; system("rm -rf $rootdir"); mkdir ($rootdir, 0700); @@ -325,6 +321,9 @@ system("find $rootdir/intranet-cgi -name '*.pl' -exec chmod a+x \\{\\} \\;"); # FIXME: "cp -a" is GNU-ism. It is not portable. 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"); # Remove extraneous files from opac-html