clear insgtallation first

This commit is contained in:
Q
2025-11-04 14:02:40 +02:00
parent 334a4ee733
commit aab711c313

2
rc
View File

@@ -42,7 +42,7 @@ function _q-tools-update-binary {
set -u
echo "Update $current_version => $remote_version"
mkdir -p "$QTOOLSPATH"
find "$QTOOLSPATH" -maxdepth 1 -mindepth 1 -type d -exec rm -r \{\};
find "$QTOOLSPATH" -maxdepth 1 -mindepth 1 -type d -exec rm -r \{\} \;
curl -L -f -s https://six9.net/software/q-tools/current.tar.gz | \
tar xz -C "$QTOOLSPATH"
set +u