Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/bin/sugar.in
blob: 26f7cba46e2a7ea3f01d98a4eaafa5e93a56388b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/bin/sh

if test -z "$SUGAR_SCALING"; then
    export SUGAR_SCALING=100
fi

export GTK2_RC_FILES="@prefix@/share/sugar/data/sugar-$SUGAR_SCALING.gtkrc"

if ! test -f "$GTK2_RC_FILES"; then
    echo "sugar: ERROR: Gtk theme for scaling $SUGAR_SCALING not available."
    exit 1
fi

sugar-shell