#!/bin/sh


# This script should be used to start Liferea
# to ensure a running DBUS session.

dist_bin=`dirname $0`
params="$@"

LD_LIBRARY_PATH=/usr/lib/mozilla-1.7.13:$LD_LIBRARY_PATH
export LD_LIBRARY_PATH

if [ -z "$DBUS_SESSION_BUS_ADDRESS" ]; then
	eval `dbus-launch`
	export DBUS_SESSION_BUS_ADDRESS
fi

exec "$dist_bin/liferea-bin" $params
