diff options
Diffstat (limited to 'bin/sugar-shell-service.in')
-rw-r--r-- | bin/sugar-shell-service.in | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/bin/sugar-shell-service.in b/bin/sugar-shell-service.in index e88ea65..49c2764 100644 --- a/bin/sugar-shell-service.in +++ b/bin/sugar-shell-service.in @@ -16,6 +16,12 @@ # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA import sys +from os import environ + +if not environ.has_key('SUGAR_ACTIVITIES'): + environ['SUGAR_ACTIVITIES'] = '@prefix@/share/sugar/activities:' \ + '@prefix@/lib64/sugar/activities:' \ + '@prefix@/lib/sugar/activities' sys.path.insert(0, '@prefix@/share/sugar/service') |