sugar-toolkit-gtk3/bin/sugar.in

11 lines
331 B
Bash

#!/bin/sh
export SUGAR_PREFIX=@prefix@
export SUGAR_PATH=@prefix@/share/sugar
export GTK2_RC_FILES=@prefix@/share/sugar/data/sugar-xo.gtkrc
if [ -f /etc/olpc-security ] ; then
exec dbus-launch --exit-with-session --config-file=/etc/dbus-1/session-olpc.conf sugar-shell
else
exec dbus-launch --exit-with-session sugar-shell
fi