Changeset 24919


Ignore:
Timestamp:
01/06/12 23:45:08 (9 years ago)
Author:
davidb
Message:

Tweaked install script to copy additional files into cgi-bin area

File:
1 edited

Legend:

Unmodified
Added
Removed
  • gs3-extensions/html-to-expeditee/trunk/src/INSTALL-FOR-GREENSTONE3.sh

    r24916 r24919  
    2323}
    2424
    25 if [ ! -d ../../web/ext/html-to-expeditee ] ; then
    26   echo "Making web extension directory for html-to-expeditee"
    27   mkdir ../../web/ext/html-to-expeditee
     25if [ ! -d ../../web/WEB-INF/cgi/html-to-expeditee ] ; then
     26  echo "Making supporting html-to-expeditee directory in cgi-bin folder"
     27  mkdir ../../web/WEB-INF/cgi/html-to-expeditee
    2828fi
    2929
    30 if [ ! -d ../../web/ext/html-to-expeditee/jquery ] ; then
    31   echo "Copying jquery into web extension directory for html-to-expeditee"
    32   /bin/cp -r packages/jquery ../../web/ext/html-to-expeditee/.
     30if [ ! -d ../../web/WEB-INF/cgi/html-to-expeditee/jquery ] ; then
     31  echo "Copying jquery into supporting html-to-expeditee cgi-bin folder"
     32  /bin/cp -r packages/jquery ../../web/WEB-INF/cgi/html-to-expeditee/.
    3333fi
     34
     35if [ ! -d ../../web/WEB-INF/cgi/html-to-expeditee/js ] ; then
     36  echo "Copying src/js into supporting html-to-expeditee cgi-bin folder"
     37  /bin/cp -r src/js ../../web/WEB-INF/cgi/html-to-expeditee/.
     38elif [ "src/js/html-to-expeditee.js" -nt "../../web/WEB-INF/cgi/html-to-expeditee/js/html-to-expeditee.js" ] ; then
     39  echo "Updating src/js in the supporting html-to-expeditee cgi-bin folder"
     40  /bin/cp -r src/js ../../web/WEB-INF/cgi/html-to-expeditee/.
     41fi
     42
    3443
    3544if [ ! -f ../../web/WEB-INF/cgi/html-to-expeditee.pl ] ; then
Note: See TracChangeset for help on using the changeset viewer.