#!/bin/bash
prefix=/usr
exec_prefix=/usr
libdir=${exec_prefix}/lib
includedir=${prefix}/include

export LD_LIBRARY_PATH=${exec_prefix}/lib/tangerine${LD_LIBRARY_PATH:+:$LD_LIBRARY_PATH}
export MONO_PATH=$MONO_PATH:/usr/lib/banshee-1

if test "x$TANGERINE_DEBUG" != "x"; then \
    exec gdb --args mono $TANGERINE_MONO_ARGS ${exec_prefix}/lib/tangerine/tangerine-daemon.exe "$@"
else
    exec -a tangerine mono $TANGERINE_MONO_ARGS ${exec_prefix}/lib/tangerine/tangerine-daemon.exe "$@"
fi
