mirror of
https://github.com/community-scripts/ProxmoxVE.git
synced 2026-05-25 18:04:58 +02:00
fix(tools): consolidate OS detection, add error hints, sort setup functions
- Replace all 13 manual /etc/os-release reads with get_os_info() across prepare_repository_setup, setup_hwaccel, setup_java, setup_mysql, setup_php, setup_postgresql, setup_clickhouse, install_packages_with_retry - Add actionable Hint messages to 16 download/network failure paths: adminer, composer, ffmpeg (x2), go, ghostscript, imagemagick, rbenv, ruby-build, meilisearch-config, uv, yq, rust, apt-lock timeout, mongodb GPG, php keyring - Replace 6 silent 'apt install || true' with msg_warn for optional packages: 3x postgresql modules, ruby build deps, ssl-cert, docker-compose - Sort all 'function setup_*' declarations into alphabetical order: clickhouse moved to after adminer, docker moved to after composer, meilisearch moved to after mariadb_db
This commit is contained in:
1444
misc/tools.func
1444
misc/tools.func
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user