check for version

This commit is contained in:
Q
2025-11-04 12:48:12 +02:00
parent c7ac17f0a9
commit 35480dce29

2
rc
View File

@@ -36,7 +36,7 @@ function _q-tools-update-binary {
fi
local current_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 )
if [[ "$remote_version" != "$current_version" ]]; then
set -u