3298bc2da1
It adds a dialog to it's GUI to retrieve and select the video recordings of the Siemens Gigaset M740AV settop box. For details refer to the wiki (german only): http://www.m740.de/wiki/ProjectX_mit_Gigaset-Erweiterung WWW: http://sourceforge.net/projects/gdialog-x Heiner (h.eichmann@gmx.de) PR: ports/133928 Submitted by: Heiner Eichmann <h.eichmann at gmx.de>
16 lines
424 B
Bash
16 lines
424 B
Bash
#!/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
|
|
|
|
JAVA_VERSION="%%JAVA_VERSION%%" exec "%%LOCALBASE%%/bin/java" -jar "%%DATADIR%%/GDialog.jar" "$@"
|