source: gli/trunk/fli.sh@ 14976

Last change on this file since 14976 was 14976, checked in by davidb, 16 years ago

Top level scripts for Fedora Librarian Interface

  • Property svn:executable set to *
File size: 842 bytes
Line 
1#!/bin/sh
2
3## ---- Specify where Fedora is installed ----
4FEDORA_HOME=/research/local/fedora2
5export FEDORA_HOME
6
7
8if [ "$glilang" = "es" ]; then
9 PROGNAME="Biblioteca Digital Fedora"
10elif [ "$glilang" = "fr" ]; then
11 PROGNAME="Bibliothécaire Fedora"
12elif [ "$glilang" = "ru" ]; then
13 PROGNAME="ÉÎÔÅÒÆÅÊÓ Fedora"
14else
15 PROGNAME="Fedora Librarian Interface"
16fi
17export PROGNAME
18
19PROGNAME_EN="Fedora Librarian Interface"
20export PROGNAME_EN
21
22PROGABBR="FLI"
23export PROGABBR
24
25
26
27# Test to see if FEDORA environment variables have been set up
28if [ "x$FEDORA_HOME" = "x" ]; then
29 echo "Error: Cannot find Fedora home. Have set the environment variable 'FEDORA_HOME' ?"
30 exit
31fi
32if [ ! -d "$FEDORA_HOME" ]; then
33 echo "Error: Cannot find Fedora home: Not such directory $FEDORA_HOME"
34 exit
35fi
36
37./gli.sh -fedora_home "$FEDORA_HOME" $*
Note: See TracBrowser for help on using the repository browser.