source: gs3-extensions/i-greenstone-server/trunk/src/CUSTOMIZATION.sh@ 26474

Last change on this file since 26474 was 26474, checked in by davidb, 11 years ago

A Greeonstone3 extension for branding an Android install of i-jetty with gsdl images and name

File size: 932 bytes
Line 
1#/bin/bash
2
3
4
5
6#if [ ! -f AndroidManifest.xml.orig ] ; then
7# echo "Customizing AndroidManifest.xml"
8# /bin/mv AndroidManifest.xml AndroidManifest.xml.orig
9# /bin/cp ../../CUSTOMIZATION/AndroidManifest.xml .
10#fi
11
12
13cd CUSTOMIZATION
14
15
16for td in res src ; do
17
18 cfiles=`find $td -type f`
19
20 for cfile in $cfiles ; do
21 echo "Overwriting $cfile"
22 /bin/cp $cfile ../i-jetty-3.1/i-jetty-ui/$cfile
23 done
24
25done
26
27cd ..
28
29# For when already in main i-jetty-ui area
30# cd res
31#
32#
33#for d in drawable-hdpi drawable-mdpi ; do
34# cd $d
35# if [ ! -d orig ] ; then
36# echo "Customizing images in $d"
37# mkdir orig
38# /bin/mv *.* orig/.
39# /bin/cp -i ../../../../CUSTOMIZATION/drawable-hdpi/* .
40# fi
41# cd ..
42#done
43
44#cd ..
45
46##cd ../..
47
48
49echo
50echo "***"
51echo "* Now"
52echo "* cd i-jetty-3.1/i-jetty-ui"
53echo "* mvn clean install"
54echo "* And run ./deploy.sh [id] to install and run on an Android device"
55echo "***"
56echo
Note: See TracBrowser for help on using the repository browser.