mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-24 22:53:42 +00:00
dd0c105b87
…since this is actually dropbox-nautilus project. In one of the previous updates, the source code responsible for finding dropboxd was changed, rendering our sed replacement not working. That triggered the installer which in turn failed on the unavailability of gobject-introspection typelibs. And when that was fixed, we got bitten by our lazy packaging putting a broken code into the installer. This is a proper fix for all the issues, except for making typelibs available to the installer since we shall use Nix instead.
12 lines
328 B
Diff
12 lines
328 B
Diff
--- a/dropbox.in
|
|
+++ b/dropbox.in
|
|
@@ -71,7 +71,7 @@
|
|
|
|
PARENT_DIR = os.path.expanduser("~")
|
|
DROPBOX_DIST_PATH = "%s/.dropbox-dist" % PARENT_DIR
|
|
-DROPBOXD_PATH = os.path.join(DROPBOX_DIST_PATH, "dropboxd")
|
|
+DROPBOXD_PATH = "@dropboxd@"
|
|
DESKTOP_FILE = "@DESKTOP_FILE_DIR@/dropbox.desktop"
|
|
|
|
enc = locale.getpreferredencoding()
|