Sophie

Sophie

distrib > Mandriva > 2010.2 > i586 > media > contrib-release-src > by-pkgid > 4fd1b2528bc728b598b4e20d839235ee > files > 6

batik-1.7-0.1.4mdv2010.0.src.rpm

#!/bin/sh
# 
# Batik SVG Slideshow script
# JPackage Project <http://www.jpackage.org/>

# Source functions library
if [ -f /usr/share/java-utils/java-functions ] ; then 
  . /usr/share/java-utils/java-functions
else
  echo "Can't find functions library, aborting"
  exit 1
fi

# Source system prefs
if [ -f /etc/slideshow.conf ] ; then 
  . /etc/slideshow.conf
fi

# Source user prefs
if [ -f $HOME/.slideshowrc ] ; then 
  . $HOME/.slideshowrc
fi

# Configuration
MAIN_CLASS=org.apache.batik.apps.slideshow.Main
BASE_JARS="batik-slideshow.jar"

# Set parameters
set_jvm
set_classpath $BASE_JARS
set_flags $BASE_FLAGS
set_options $BASE_OPTIONS

# Let's start
run "$@"