~ubuntu-branches/ubuntu/lucid/lastfm/lucid

« back to all changes in this revision

Viewing changes to bin/last.fm

  • Committer: Bazaar Package Importer
  • Author(s): Pedro Fragoso
  • Date: 2007-12-31 09:49:54 UTC
  • mfrom: (1.1.5 upstream)
  • Revision ID: james.westby@ubuntu.com-20071231094954-ix1amvcsj9pk61ya
Tags: 1:1.4.1.57486.dfsg-1ubuntu1
* Merge from Debian unstable (LP: #180254), remaining changes:
  - debian/rules;
    - Added dh_icons
  - Modify Maintainer value to match Debian-Maintainer-Field Spec

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
#!/bin/sh
2
 
# executes all *nix variants of Last.fm executable --mxcl
3
 
 
4
 
RUNDIR=`dirname $0`
5
 
echo $RUNDIR
6
 
export LD_LIBRARY_PATH=$RUNDIR:$LD_LIBRARY_PATH
7
 
export DYLD_LIBRARY_PATH=$RUNDIR:$DYLD_LIBRARY_PATH
8
 
if [ -f $RUNDIR/last.fm.app ]
9
 
then
10
 
    `$RUNDIR/last.fm.app $*`
11
 
elif [ -f $RUNDIR/last.fm.app_debug ]
12
 
then
13
 
    `$RUNDIR/last.fm.app_debug $*`
14
 
elif [ -d $RUNDIR/Last.fm.app ]
15
 
then
16
 
    open $RUNDIR/Last.fm.app $*
17
 
elif [ -d $RUNDIR/Last.fm.app_debug ]
18
 
then
19
 
    open $RUNDIR/Last.fm.app_debug $*
20
 
elif [ -f $RUNDIR/Last.fm_debug ]
21
 
then
22
 
        `$RUNDIR/Last.fm_debug $*`
23
 
fi