root/main/trunk/package-kits/linux/gli @ 29474

Revision 29474, 403 bytes (checked in by jts21, 5 years ago)

Got deb packages working

  • Property svn:executable set to *
Line 
1#!/bin/bash
2
3if test -z "$JAVA_HOME"; then
4    for dir in /usr/lib/jvm/default/ /usr/lib/jvm/default-java/; do
5        if test -d $dir; then
6            JAVA_HOME=$dir
7            break
8        fi
9    done
10fi
11if test -z "$JAVA_HOME"; then
12    echo -e "Could not find JAVA_HOME.\nPlease export JAVA_HOME=<jre_location>" >&2
13    exit 1
14fi
15
16export JAVA_HOME
17
18. greenstone --no-interactive
19
20/opt/gli/gli.sh
Note: See TracBrowser for help on using the browser.