Show
Ignore:
Timestamp:
07.01.2012 16:10:39 (9 years ago)
Author:
davidb
Message:

Original script worked with Greenstone2. These edits are are the result of getting a basic system running for Greenstone3.

Files:
1 modified

Legend:

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

    r24919 r24920  
    2424 
    2525if [ ! -d ../../web/WEB-INF/cgi/html-to-expeditee ] ; then 
    26   echo "Making supporting html-to-expeditee directory in cgi-bin folder" 
     26  echo "Making supporting html-to-expeditee directory in web/ext folder" 
    2727  mkdir ../../web/WEB-INF/cgi/html-to-expeditee 
    2828fi 
    2929 
    30 if [ ! -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/. 
     30if [ ! -d ../../web/ext/html-to-expeditee/jquery ] ; then 
     31  echo "Copying jquery into web/ext/html-to-expeditee folder" 
     32  /bin/cp -r packages/jquery ../../web/ext/html-to-expeditee/. 
    3333fi 
    3434 
    35 if [ ! -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/. 
    38 elif [ "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/. 
     35if [ ! -d ../../web/ext/html-to-expeditee/js ] ; then 
     36  echo "Copying src/js into web/ext/html-to-expeditee/js" 
     37  /bin/cp -r src/js ../../web/ext/html-to-expeditee/. 
     38elif [ "src/js/html-to-expeditee.js" -nt "../../web/ext/html-to-expeditee/js/html-to-expeditee.js" ] ; then 
     39  echo "Updating src/js to web/ext/html-to-expeditee/js" 
     40  /bin/cp -r src/js ../../web/ext/html-to-expeditee/. 
    4141fi 
    4242