Changeset 29641

Show
Ignore:
Timestamp:
17.12.2014 17:03:31 (5 years ago)
Author:
jts21
Message:

Setting greenstone library URL

Files:
1 modified

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"