root/gs3-extensions/i-jetty/trunk/src/DEX-TO-SDCARD.sh @ 23882

Revision 23882, 449 bytes (checked in by davidb, 9 years ago)

Initial cut at support scripts to install Greenstone 3 on an Android device

Line 
1#!/bin/bash
2
3if [ ! -d $SDCARD_GSDL3HOME ] ; then
4  # First time install has been run => do a full copy
5  mode="Installing"
6
7else
8  # Only need to regenerate 'lib' folder
9  mode="Updating"
10fi
11
12echo "#---"
13echo "# $mode Android servlet version to "
14echo "#   $SDCARD_GSDL3HOME/WEB-INF/lib"
15echo "#---"
16echo ""
17
18if [ -d $SDCARD_GSDL3HOME/WEB-INF/lib ] ; then
19  /bin/rm -rf $SDCARD_GSDL3HOME/WEB-INF/lib
20fi
21
22/bin/cp -r lib $SDCARD_GSDL3HOME/WEB-INF/.
Note: See TracBrowser for help on using the browser.