Index: gs3-extensions/html-to-expeditee/trunk/src/INSTALL-FOR-GREENSTONE3.sh
===================================================================
--- gs3-extensions/html-to-expeditee/trunk/src/INSTALL-FOR-GREENSTONE3.sh (revision 26629)
+++ gs3-extensions/html-to-expeditee/trunk/src/INSTALL-FOR-GREENSTONE3.sh (revision 26631)
@@ -21,4 +21,7 @@
> ../../web/WEB-INF/cgi/html-to-expeditee.pl
+ cat src/cgi-bin/export-individual-expeditee.pl.in \
+ | sed "s%@FULL_PERL_EXE@%$FULL_PERL_EXE%g" \
+ > ../../web/WEB-INF/cgi/export-individual-expeditee.pl
}
@@ -50,4 +53,12 @@
fi
+if [ ! -f ../../web/WEB-INF/cgi/export-individual-expeditee.pl ] ; then
+ echo "Installing export-individual-expeditee.pl to cgi-bin directory"
+ installPerlCGI
+elif [ "src/cgi-bin/export-individual-expeditee.pl.in" -nt "../../web/WEB-INF/cgi/export-individual-expeditee.pl" ] ; then
+ echo "Installing latest version of export-individual-expeditee.pl to cgi-bin directory"
+ installPerlCGI
+fi
+