check for version
This commit is contained in:
2
rc
2
rc
@@ -36,7 +36,7 @@ function _q-tools-update-binary {
|
|||||||
fi
|
fi
|
||||||
local current_version
|
local current_version
|
||||||
local remote_version
|
local remote_version
|
||||||
current_version=$( cat .version )
|
current_version=$( cat "$QTOOLSPATH"/.version )
|
||||||
remote_version=$( curl -f -s -L https://six9.net/software/q-tools/current.txt )
|
remote_version=$( curl -f -s -L https://six9.net/software/q-tools/current.txt )
|
||||||
if [[ "$remote_version" != "$current_version" ]]; then
|
if [[ "$remote_version" != "$current_version" ]]; then
|
||||||
set -u
|
set -u
|
||||||
|
|||||||
Reference in New Issue
Block a user