dropbox: fix version sort order

This makes the startup wrapper work as intended instead of
re-downgrading Dropbox after each time it updates itself.
gstqt5
Benjamin Staffin 2017-12-04 18:54:48 -05:00
parent c0d7a054cb
commit 7a9784c571
No known key found for this signature in database
GPG Key ID: A490C0134E09AF4A
1 changed files with 1 additions and 1 deletions

View File

@ -54,7 +54,7 @@ buildFHSUserEnv {
do_install=1
else
installed_version=$(cat "$HOME/.dropbox-dist/VERSION")
latest_version=$(printf "${version}\n$installed_version\n" | sort -V | head -n 1)
latest_version=$(printf "${version}\n$installed_version\n" | sort -rV | head -n 1)
if [ "x$installed_version" != "x$latest_version" ]; then
do_install=1
fi