summarylogtreecommitdiffstats
path: root/dropbox-cli-arch.patch
diff options
context:
space:
mode:
Diffstat (limited to 'dropbox-cli-arch.patch')
-rw-r--r--dropbox-cli-arch.patch17
1 files changed, 17 insertions, 0 deletions
diff --git a/dropbox-cli-arch.patch b/dropbox-cli-arch.patch
new file mode 100644
index 000000000000..002508fa781e
--- /dev/null
+++ b/dropbox-cli-arch.patch
@@ -0,0 +1,17 @@
+--- dropbox.py 2011-04-04 20:32:01.000000000 +0200
++++ dropbox.py 2011-04-28 22:55:17.976623103 +0200
+@@ -1,4 +1,4 @@
+-#!/usr/bin/python
++#!/usr/bin/python2
+ #
+ # Copyright 2008 Evenflow, Inc.
+ #
+@@ -610,6 +610,8 @@
+
+ def start_dropbox():
+ db_path = os.path.expanduser(u"~/.dropbox-dist/dropboxd").encode(sys.getfilesystemencoding())
++ if not os.path.exists(db_path):
++ db_path = u"/usr/bin/dropbox"
+ if os.access(db_path, os.X_OK):
+ f = open("/dev/null", "w")
+ # we don't reap the child because we're gonna die anyway, let init do it