summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRaphael Hertzog <[email protected]>2018-10-06 23:28:52 +0200
committerraveit65 <[email protected]>2019-01-09 20:05:00 +0100
commit527b9cc103ec07c8583904b6d6c97ad79f8be984 (patch)
tree193ccd200e7eca1da36cfa344a18638a13a70a49
parent4cb4209b9a3055d63bfa6c99cd9cf9e76fcdbffd (diff)
downloadcaja-dropbox-527b9cc103ec07c8583904b6d6c97ad79f8be984.tar.bz2
caja-dropbox-527b9cc103ec07c8583904b6d6c97ad79f8be984.tar.xz
Add a new "dropbox update" command
This command forces a new download and installation of the dropbox binary files. origin commit: https://github.com/dropbox/nautilus-dropbox/commit/ce7c963 https://github.com/dropbox/nautilus-dropbox/pull/59
-rwxr-xr-xcaja-dropbox.in9
1 files changed, 9 insertions, 0 deletions
diff --git a/caja-dropbox.in b/caja-dropbox.in
index 6921fc4..d7b61bf 100755
--- a/caja-dropbox.in
+++ b/caja-dropbox.in
@@ -879,6 +879,15 @@ def columnize(list, display_list=None, display_width=None):
console_print(line)
@command
+def update(args):
+ u"""download latest version of dropbox
+dropbox update
+
+Downloads the latest version of dropbox.
+"""
+ download()
+
+@command
@requires_dropbox_running
@alias('stat')
def filestatus(args):