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 [[ -z "$QTOOLSPATH" ]] && return
[[ -w "$QTOOLSPATH" ]] || return [[ -w "$QTOOLSPATH" ]] || return
pushd ~ >/dev/null pushd ~ >/dev/null
if [[ ! -e .version ]]; then if [[ ! -e "$QTOOLSPATH"/.version ]]; then
touch .version touch "$QTOOLSPATH"/.version
fi fi
local current_version local current_version
local remote_version local remote_version