b69062
#!/bin/sh
b69062
# 
b69062
# Batik SVG Slideshow script
b69062
# JPackage Project <http://www.jpackage.org/>
b69062
b69062
# Source functions library
b69062
if [ -f /usr/share/java-utils/java-functions ] ; then 
b69062
  . /usr/share/java-utils/java-functions
b69062
else
b69062
  echo "Can't find functions library, aborting"
b69062
  exit 1
b69062
fi
b69062
b69062
# Source system prefs
b69062
if [ -f /etc/slideshow.conf ] ; then 
b69062
  . /etc/slideshow.conf
b69062
fi
b69062
b69062
# Source user prefs
b69062
if [ -f $HOME/.slideshowrc ] ; then 
b69062
  . $HOME/.slideshowrc
b69062
fi
b69062
b69062
# Configuration
b69062
MAIN_CLASS=org.apache.batik.apps.slideshow.Main
b69062
BASE_JARS="batik batik-slideshow"
b69062
b69062
# Set parameters
b69062
set_jvm
b69062
set_classpath $BASE_JARS
b69062
set_flags $BASE_FLAGS
b69062
set_options $BASE_OPTIONS
b69062
b69062
# Let's start
b69062
run "$@"