diff --git a/CHANGELOG.md b/CHANGELOG.md index 4bf07b0..3186421 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,14 @@ # Techmo TTS gRPC Python client Changelog +## [3.2.10] - 2026-03-30 + +### Fixed + +- `install.sh`: replace `ldconfig -p` with `dpkg-query` as the primary check for `libportaudio2`. + Fixes false "not found" warning when the library is installed but the linker cache is stale. + Falls back to `ldconfig -p` on non-Debian systems. + + ## [3.2.9] - 2026-03-30 ### Changed diff --git a/install.sh b/install.sh index 7529986..297e04b 100755 --- a/install.sh +++ b/install.sh @@ -25,7 +25,7 @@ fi source "${VENV_PATH}/bin/activate" uv pip install -e ".[test]" -if ! ldconfig -p 2> /dev/null | grep -q 'libportaudio'; then +if ! { dpkg-query -W -f='${Status}' libportaudio2 2>/dev/null | grep -q 'install ok installed' || ldconfig -p 2>/dev/null | grep -q 'libportaudio'; }; then echo "" >&2 echo "Warning: libportaudio2 not found on this system." >&2 echo " Install it with: sudo apt-get install libportaudio2" >&2 diff --git a/tts_client_python/VERSION.py b/tts_client_python/VERSION.py index 7107643..163b89e 100644 --- a/tts_client_python/VERSION.py +++ b/tts_client_python/VERSION.py @@ -1 +1 @@ -TTS_CLIENT_PYTHON_VERSION = "3.2.9" +TTS_CLIENT_PYTHON_VERSION = "3.2.10"