[Pkg-owncloud-commits] [python-owncloud] 19/96: issue #3, fix library location issues

Sandro Knauß hefee-guest at moszumanska.debian.org
Fri Nov 22 01:28:23 UTC 2013


This is an automated email from the git hooks/post-receive script.

hefee-guest pushed a commit to branch master
in repository python-owncloud.

commit 47ebf6b06530e4a4fc4e217c61444ec5e803435e
Author: craig <craig at lasalle.yumaed.org>
Date:   Mon Mar 11 10:35:42 2013 -0700

    issue #3, fix library location issues
---
 csynclib.py |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/csynclib.py b/csynclib.py
index 7383e7a..37832c0 100644
--- a/csynclib.py
+++ b/csynclib.py
@@ -7,7 +7,7 @@ STRING = c_char_p
 _libraries = {}
 if os.path.exists('/usr/lib/libocsync.so.0'):
 	_libraries['/usr/lib/libocsync.so.0'] = CDLL('/usr/lib/libocsync.so.0')
-if os.path.exists('/usr/lib64/libocsync.so.0'):
+elif os.path.exists('/usr/lib64/libocsync.so.0'):
 	_libraries['/usr/lib/libocsync.so.0'] = CDLL('/usr/lib64/libocsync.so.0')
 else:
 	path = ctypes.util.find_library('libocsync')

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/python-owncloud.git



More information about the Pkg-owncloud-commits mailing list