Blame SOURCES/batik.slideshow.script

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