blob: 2117144c2240064ed9a671650659ccbce266d516 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
diff --git a/dropbox_start.py b/dropbox_start.py
index 82617c5..2aa4cf1 100644
--- a/dropbox_start.py
+++ b/dropbox_start.py
@@ -50,14 +50,14 @@ def is_dropbox_running():
def start_dropbox():
- lib_dir = os.path.dirname(os.path.realpath(__file__))
+ lib_dir = os.path.dirname('/usr/local/lib/')
lib_path = os.path.join(lib_dir, "libdropbox_fs_fix.so")
if not os.access(lib_path, os.X_OK):
print(">>> Library '%s' is not available!" % lib_path)
return False
os.environ["LD_PRELOAD"] = lib_path
- db_path = os.path.expanduser(u"~/.dropbox-dist/dropboxd").encode(
+ db_path = os.path.expanduser(u"/usr/bin/dropbox").encode(
sys.getfilesystemencoding()
)
if os.access(db_path, os.X_OK):
|