Changeset 29641


Ignore:
Timestamp:
2014-12-17T17:03:31+13:00 (9 years ago)
Author:
Jeremy Symon
Message:

Setting greenstone library URL

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/trunk/package-kits/linux/files/greenstone

    r29577 r29641  
    8888fi
    8989export GSDL3HOME
     90default_url='http://localhost:8080/greenstone3/library'
     91if test -n "$interactive" -a -z "$GSDL_LIBRARY_URL" ; then
     92    echo "What URL can the greenstone library be found at?" >&2
     93    echo "[$default_url]" >&2
     94    echo -n " > " >&2
     95    read GSDL_LIBRARY_URL
     96fi
     97if test -z "$GSDL_LIBRARY_URL" ; then
     98    echo "Setting library url to the default" >&2
     99    GSDL_LIBRARY_URL="$default_url"
     100fi
     101export GSDL_LIBRARY_URL
    90102
    91103test -d "$GSDL3HOME/sites/localsite/collect" || mkdir -p "$GSDL3HOME/sites/localsite/collect"
Note: See TracChangeset for help on using the changeset viewer.