Commit ca354e95 authored by Ryan Kavanagh's avatar Ryan Kavanagh

Use jh_link instead of a shell-script launcher

parent 4a7643c7
#!/bin/sh
CLASSPATH="${CLASSPATH:-.}:/usr/share/java/jcommon.jar"
CLASSPATH="${CLASSPATH:-.}:/usr/share/java/jfreechart.jar"
CLASSPATH="${CLASSPATH:-.}:/usr/share/java/swingx.jar"
CLASSPATH="${CLASSPATH:-.}:/usr/share/cronometer/usda_sr24.jar"
CLASSPATH="${CLASSPATH:-.}:/usr/share/cronometer/crdb_005.jar"
CLASSPATH="${CLASSPATH:-.}:/usr/share/cronometer/docs.jar"
CLASSPATH="${CLASSPATH:-.}:/usr/share/java/cronometer.jar"
export CLASSPATH
exec /usr/bin/java ca.spaz.cron.CRONOMETER
......@@ -16,7 +16,7 @@ override_dh_auto_build:
dh_auto_build
override_dh_auto_install:
install -D -m 755 debian/cronometer.sh debian/cronometer/usr/bin/cronometer
dh_link usr/share/java/cronometer.jar usr/bin/cronometer
dh_auto_install
override_dh_auto_clean:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment