Files
ProxmoxVE/misc
CanbiZ (MickLesk) d08c455df2 fix(tools.func): add Alpine (apk) support to ensure_dependencies and is_package_installed
ensure_dependencies() and is_package_installed() used dpkg-query and apt
which don't exist on Alpine Linux. When alpine-install.func sources tools.func,
these functions would fail with 'exit code 980' errors.

Added Alpine detection (/etc/alpine-release) to both functions:
- ensure_dependencies: uses apk info/apk add on Alpine
- is_package_installed: uses apk info -e on Alpine

Fixes #12698
2026-03-09 08:20:04 +01:00
..