This commit is contained in:
Senko-san
2026-06-14 23:42:39 +03:00
parent 3a63ced4d4
commit 885fa4c273
4 changed files with 7 additions and 10 deletions
-8
View File
@@ -1,12 +1,5 @@
# Preflight checks. Fail loud and early with actionable messages.
check_bash() {
if ((BASH_VERSINFO[0] < 4)); then
ui_err "$(t err_bash_version "$BASH_VERSION")"
exit 1
fi
}
check_docker() {
if ! command -v docker >/dev/null 2>&1; then
ui_err "$(t err_need_docker)"; exit 1
@@ -38,7 +31,6 @@ is_port_free() {
}
preflight() {
check_bash
check_docker
check_openssl
ui_ok "$(t preflight_ok)"