LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File pyuno-path.diff of Package libreoffice (Project openSUSE:Factory)

--- pyuno/source/module/uno.py 2011-11-30 18:39:37 -0500
+++ pyuno/source/module/uno.py 2011-11-30 19:38:14 -0500
@@ -26,6 +26,12 @@
 #*************************************************************************
 import os
 import sys
+import platform
+
+if platform.machine() == 'x86_64':
+    sys.path.append('/usr/lib64/libreoffice/program')
+else:
+    sys.path.append('/usr/lib/libreoffice/program')

 if getattr(os.environ, 'URE_BOOTSTRAP', None) is None:
     os.environ['URE_BOOTSTRAP'] = "vnd.sun.star.pathname:@INSTALLDIR@/program/fundamentalrc"