convertx: use uv tool install instead of pipx for markitdown

This commit is contained in:
MickLesk
2026-08-12 09:27:13 +02:00
parent f60eb18b1f
commit 2c2edb3a17
2 changed files with 8 additions and 9 deletions
+4 -3
View File
@@ -34,12 +34,13 @@ function update_script() {
systemctl stop convertx
msg_info "Stopped Service"
ensure_dependencies libreoffice-writer dasel graphicsmagick libemail-outlook-message-perl libheif-examples libjxl-tools pipx python3-pip resvg
ensure_dependencies libreoffice-writer dasel graphicsmagick libemail-outlook-message-perl libheif-examples libjxl-tools resvg
if ! command -v markitdown &>/dev/null; then
setup_uv
msg_info "Installing markitdown"
export PIPX_BIN_DIR=/usr/local/bin
$STD pipx install "markitdown[all]"
export UV_TOOL_BIN_DIR=/usr/local/bin
$STD uv tool install "markitdown[all]"
msg_ok "Installed markitdown"
fi