#!/bin/sh # # $FreeBSD: /tmp/pcvs/ports/multimedia/gdialog/files/gdialog.in,v 1.1 2009-06-23 19:24:46 pgollucci Exp $ case "$#" in 0) mkdir -p "${HOME}/.projectx" cd "${HOME}/.projectx" ln -sf %%DATADIR%%/*.txt %%DATADIR%%/htmls . if ! grep '^# ProjectX 0.90.4.00' X.ini >/dev/null 2>&1; then rm -f X.ini fi ;; esac exec "%%LOCALBASE%%/bin/java" -jar "%%DATADIR%%/GDialog.jar" "$@"