diff options
author | Erich Eckner <git@eckner.net> | 2017-09-20 14:07:59 +0200 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2017-09-20 14:07:59 +0200 |
commit | ded56d75a876e08e516af53719be8017f2f2ca50 (patch) | |
tree | 21d39c91b60150be061666196f561b7458eda6d2 | |
parent | c8ac74c549a59242bffb289a41938d92653302fb (diff) | |
download | archlinuxewe-ded56d75a876e08e516af53719be8017f2f2ca50.tar.xz |
checkVersions: style
-rwxr-xr-x | checkVersions | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/checkVersions b/checkVersions index 2ecd10f7f..2f153d956 100755 --- a/checkVersions +++ b/checkVersions @@ -104,23 +104,23 @@ then src="${src#*::}" - if [ "${pkgname}" == "adduser" ] + if [ "${pkgname}" = 'adduser' ] then - remVer="$( + remVer=$( curl_it "${source[0]}" '-L' | \ grep '^# Version: ' | \ sed 's|^# Version: \+||' - )" - elif [ "${pkgname}" == "dropbox" ] + ) + elif [ "${pkgname}" = 'dropbox' ] then - remVer="$( + remVer=$( curl_it 'https://www.dropboxforum.com/t5/Desktop-client-builds/bd-p/101003016' | \ tr '<>' '\n' | \ grep '^Stable Build [0-9.-]\+$' | \ sed 's|^Stable Build \([0-9.-]\+\)$|\1|' | \ sort -V | \ tail -n1 - )" + ) elif [ "${pkgname}" = 'tightvnc' ] then remVer=$( |