version path

This commit is contained in:
Q
2025-11-04 13:51:01 +02:00
parent 35480dce29
commit 06914ca2d0

4
rc
View File

@@ -31,8 +31,8 @@ function _q-tools-update-binary {
[[ -z "$QTOOLSPATH" ]] && return
[[ -w "$QTOOLSPATH" ]] || return
pushd ~ >/dev/null
if [[ ! -e .version ]]; then
touch .version
if [[ ! -e "$QTOOLSPATH"/.version ]]; then
touch "$QTOOLSPATH"/.version
fi
local current_version
local remote_version