Ticket #922: install_udig.patch

File install_udig.patch, 825 bytes (added by fgdrf, 12 years ago)
  • install_udig.sh

     
    3737DOCS_FOLDER="/usr/local/share/udig"
    3838DATA_GLOBAL="/usr/local/share/data"
    3939
     40JAVA_INSTALL_FOLDER=/usr/lib/jvm/java-7-openjdk-i386/jre
     41
    4042BIN="/usr/bin"
    4143if [ -z "$USER_NAME" ] ; then
    4244   USER_NAME="user"
     
    131133chown $USER_NAME:$USER_NAME "$USER_HOME/Desktop/uDig.desktop"
    132134
    133135
     136# clean up bundled jre and add jai libs to  openJDK 7
     137# see ticket http://trac.osgeo.org/osgeo/ticket/922
     138# copy jai libs into openjdk lib/ext folder
     139cp $UDIG_FOLDER/jre/lib/ext/jai_*.jar $JAVA_INSTALL_FOLDER/lib/ext/
     140
     141#delete jre folder from udig install folder
     142rm -rf $UDIG_FOLDER/jre
     143
    134144## Documentation ##
    135145
    136146# Download udig's documentation