updated on Tue Jan 10 12:02:00 UTC 2012
[aur-mirror.git] / dropbox-cli / arch.patch
blob1c91ed01e5f4e19987d3d17c0264523d5022e200
1 --- dropbox.py 2011-04-04 20:32:01.000000000 +0200
2 +++ dropbox.py 2011-04-28 22:55:17.976623103 +0200
3 @@ -1,4 +1,4 @@
4 -#!/usr/bin/python
5 +#!/usr/bin/python2
7 # Copyright 2008 Evenflow, Inc.
9 @@ -610,6 +610,8 @@
11 def start_dropbox():
12 db_path = os.path.expanduser(u"~/.dropbox-dist/dropboxd").encode(sys.getfilesystemencoding())
13 + if not os.path.exists(db_path):
14 + db_path = u"/usr/bin/dropboxd"
15 if os.access(db_path, os.X_OK):
16 f = open("/dev/null", "w")
17 # we don't reap the child because we're gonna die anyway, let init do it