#696127 nautilus-dropbox: "dropbox update" always tries to download the latest binary

#696127#5
Date:
2012-12-17 00:40:43 UTC
From:
To:
Dear Maintainer,

Regardless of what version of the Dropbox daemon you already have
installed, re-installation of this package or running "dropbox update"
will result in the binaries being downloaded from the server
unnecessarily.  The pain this causes becomes even more insufferable when
the update script fails to work with your proxy settings.  See #696122.

The installed and available versions should be checked first, before any
downloading, to avoid wasting bandwidth.

I have attached my patch to fix this.

Carlos

#696127#10
Date:
2012-12-17 07:30:24 UTC
From:
To:
Hi,

But upstream is not providing any proper API to do this. Your code relies
on the fact that the download URL currently uses a redirection to a
versioned URL but I would not deem this reliable in the long run.

If Dropobx is interested to provide this feature, it should be easy to
provide a new URL where to download the version number of the latest
version. I'm ccing my contacts at Dropbox to inform them of this wishlist.

Cheers,