diff options
author | Frantisek Dufka | 2010-03-24 19:56:16 +0000 |
---|---|---|
committer | Frantisek Dufka | 2010-03-24 19:56:16 +0000 |
commit | 03ba4a33185198c08dc84c3888170797b1e7c7ce (patch) | |
tree | 1d9fe65cecbaea6679a0ea36adeaa7c2eb367c7d /dists/maemo/scummvm.wrapper | |
parent | 837b7d096e257d3f4b7539f801614f7159c4525a (diff) | |
download | scummvm-rg350-03ba4a33185198c08dc84c3888170797b1e7c7ce.tar.gz scummvm-rg350-03ba4a33185198c08dc84c3888170797b1e7c7ce.tar.bz2 scummvm-rg350-03ba4a33185198c08dc84c3888170797b1e7c7ce.zip |
added desktop and service items for launching
svn-id: r48386
Diffstat (limited to 'dists/maemo/scummvm.wrapper')
-rw-r--r-- | dists/maemo/scummvm.wrapper | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/dists/maemo/scummvm.wrapper b/dists/maemo/scummvm.wrapper index 56329def21..37859d7ee6 100644 --- a/dists/maemo/scummvm.wrapper +++ b/dists/maemo/scummvm.wrapper @@ -4,4 +4,6 @@ BASENAME=`basename $0` export SDL_VIDEO_X11_WMCLASS=${BASENAME} export SCUMMVM_MAEMO_DEVICE=$(awk '/^product/ { print $2;}' /proc/component_version) -exec ${0}.bin "$@" +[ -x ${0}.bin ] && exec ${0}.bin "$@" +# optified binary +[ -x /opt/scummvm/bin/scummvm ] && exec /opt/scummvm/bin/scummvm "$@" |